mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-26 09:19:35 -05:00
Merge pull request #173 from Icinga/feature/make-ui-lock-intuitive
Change lock text and make action-bar icons bigger
This commit is contained in:
commit
887bbd97f3
2 changed files with 7 additions and 6 deletions
|
|
@ -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'),
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ a:focus {
|
|||
}
|
||||
|
||||
.action-bar a {
|
||||
font-size: 1.3em;
|
||||
color: @icinga-blue;
|
||||
&:hover::before {
|
||||
text-decoration: none;
|
||||
|
|
|
|||
Loading…
Reference in a new issue