ActionBar: move fullscreen action more to the right

This commit is contained in:
Thomas Gelf 2016-12-16 19:34:45 +01:00
parent 20f5902160
commit d8a8e488a7

View file

@ -41,6 +41,20 @@ class ActionBar extends BaseElement
)
);
}
$this->add(
Link::create(
$this->translate('Fullscreen'),
$url->with('showFullscreen', true),
null,
array(
'class' => 'icon-resize-full-alt',
'title' => $this->translate('Switch to fullscreen mode'),
'data-base-target' => '_main',
)
)
);
$hasChanges = $config->hasSimulations() || $config->hasBeenChanged();
if ($renderer->isLocked()) {
@ -83,19 +97,6 @@ class ActionBar extends BaseElement
)
);
}
$this->add(
Link::create(
$this->translate('Fullscreen'),
$url->with('showFullscreen', true),
null,
array(
'class' => 'icon-resize-full-alt',
'title' => $this->translate('Switch to fullscreen mode'),
'data-base-target' => '_main',
)
)
);
}
protected function currentProcessParams($url)