From af6c0593a27c86683de5716af805f21bfebae706 Mon Sep 17 00:00:00 2001 From: Jennifer Mourek Date: Tue, 26 Jun 2018 08:55:23 +0200 Subject: [PATCH] Change lock text and make action-bar icons bigger Many users were confused by the lock/unlock functionality, this should make it a bit more clear. --- .../Web/Component/RenderedProcessActionBar.php | 12 ++++++------ public/css/module.less | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/library/Businessprocess/Web/Component/RenderedProcessActionBar.php b/library/Businessprocess/Web/Component/RenderedProcessActionBar.php index e7f1d2b..5d61cf9 100644 --- a/library/Businessprocess/Web/Component/RenderedProcessActionBar.php +++ b/library/Businessprocess/Web/Component/RenderedProcessActionBar.php @@ -59,24 +59,24 @@ class RenderedProcessActionBar extends ActionBar if ($renderer->isLocked()) { $this->add( Link::create( - $this->translate('Unlock'), + $this->translate('Editing locked'), $url->with('unlocked', true), null, array( - 'class' => 'icon-lock-open', - 'title' => $this->translate('Unlock this process'), + 'class' => 'icon-lock', + 'title' => $this->translate('Click to unlock editing for this process'), ) ) ); } elseif (! $hasChanges) { $this->add( Link::create( - $this->translate('Lock'), + $this->translate('Editing unlocked'), $url->without('unlocked')->without('action'), null, array( - 'class' => 'icon-lock', - 'title' => $this->translate('Lock this process'), + 'class' => 'icon-lock-open', + 'title' => $this->translate('Click to lock editing for this process'), ) ) ); diff --git a/public/css/module.less b/public/css/module.less index d7ff82e..696648c 100644 --- a/public/css/module.less +++ b/public/css/module.less @@ -7,6 +7,7 @@ a:focus { } .action-bar a { + font-size: 1.3em; color: @icinga-blue; &:hover::before { text-decoration: none;