mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-10 23:22:53 -05:00
ActionBar: Remove h1 and adjust link labels
This commit is contained in:
parent
494027710b
commit
f58e1844a1
2 changed files with 3 additions and 5 deletions
|
|
@ -121,6 +121,7 @@ class ProcessController extends Controller
|
|||
protected function prepareControls($bp, $renderer)
|
||||
{
|
||||
$controls = $this->controls();
|
||||
$controls->getAttributes()->add('class', 'separated');
|
||||
|
||||
if ($this->showFullscreen) {
|
||||
$controls->getAttributes()->add('class', 'want-fullscreen');
|
||||
|
|
@ -138,9 +139,6 @@ class ProcessController extends Controller
|
|||
if (! ($this->showFullscreen || $this->view->compact)) {
|
||||
$controls->add($this->getProcessTabs($bp, $renderer));
|
||||
}
|
||||
if (! $this->view->compact) {
|
||||
$controls->add(Html::tag('h1')->setContent($this->view->title));
|
||||
}
|
||||
$controls->add(Breadcrumb::create($renderer));
|
||||
if (! $this->showFullscreen && ! $this->view->compact) {
|
||||
$controls->add(
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ class RenderedProcessActionBar extends ActionBar
|
|||
'title' => mt('businessprocess', 'Click to unlock editing for this process'),
|
||||
'class' => 'icon-lock'
|
||||
],
|
||||
mt('businessprocess', 'Editing locked')
|
||||
mt('businessprocess', 'Unlock Editing')
|
||||
));
|
||||
} elseif (! $hasChanges) {
|
||||
$this->add(Html::tag(
|
||||
|
|
@ -68,7 +68,7 @@ class RenderedProcessActionBar extends ActionBar
|
|||
'title' => mt('businessprocess', 'Click to lock editing for this process'),
|
||||
'class' => 'icon-lock-open'
|
||||
],
|
||||
mt('businessprocess', 'Editing unlocked')
|
||||
mt('businessprocess', 'Lock Editing')
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue