navigation/dashboard: Fix that an item's properties are not rendered
This commit is contained in:
parent
f49ac81e42
commit
52df0eb399
|
@ -3,7 +3,7 @@
|
|||
</div>
|
||||
<div class="content">
|
||||
<?php foreach ($navigation as $item): /** @var \Icinga\Web\Navigation\NavigationItem $item */?>
|
||||
<a class="dashboard-link" href="<?= $this->url($item->getUrl(), $item->getUrlParameters()) ?>">
|
||||
<a class="dashboard-link" href="<?= $this->url($item->getUrl(), $item->getUrlParameters()) ?>"<?= $this->propertiesToString($item->getAttributes()) ?>>
|
||||
<div class="link-icon">
|
||||
<?= $this->icon($item->getIcon() ?: 'forward', null, array('aria-hidden' => true)) ?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue