mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 14:24:41 +02:00
parent
8669dcb078
commit
3a2b69a63c
@ -116,13 +116,6 @@ EOT;
|
||||
*/
|
||||
private $title;
|
||||
|
||||
/**
|
||||
* Whether the tabs should contain a refresh icon
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
private $refreshTab = true;
|
||||
|
||||
/**
|
||||
* Set whether the current tab is closable
|
||||
*/
|
||||
@ -335,7 +328,7 @@ EOT;
|
||||
$tab = $this->get($this->getActiveName());
|
||||
|
||||
if ($tab !== null) {
|
||||
$caption = Icinga::app()->getViewRenderer()->view->escape(
|
||||
$caption = $this->view()->escape(
|
||||
$tab->getLabel()
|
||||
);
|
||||
} else {
|
||||
@ -377,7 +370,7 @@ EOT;
|
||||
$drop = $this->renderDropdownTabs();
|
||||
}
|
||||
$close = $this->closeTab ? $this->renderCloseTab() : '';
|
||||
$refresh = $this->refreshTab ? $this->renderRefreshTab() : '';
|
||||
$refresh = $this->renderRefreshTab();
|
||||
|
||||
return str_replace(
|
||||
array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user