ActionBar: Remove h1 and adjust link labels

This commit is contained in:
Johannes Meyer 2019-01-22 12:57:29 +01:00
parent 494027710b
commit f58e1844a1
2 changed files with 3 additions and 5 deletions

View file

@ -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(

View file

@ -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')
));
}