mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
parent
a8d5a78aa2
commit
c60839d798
@ -160,6 +160,10 @@ class NavigationItemRenderer
|
|||||||
$label = $this->view()->icon($icon) . $label;
|
$label = $this->view()->icon($icon) . $label;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! $item->getAttribute('id')) {
|
||||||
|
$item->setAttribute('id', $item->getUniqueName());
|
||||||
|
}
|
||||||
|
|
||||||
if (($url = $item->getUrl()) !== null) {
|
if (($url = $item->getUrl()) !== null) {
|
||||||
$content = sprintf(
|
$content = sprintf(
|
||||||
'<a%s href="%s"%s>%s</a>',
|
'<a%s href="%s"%s>%s</a>',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user