navigation/dashboard: Fix that an item's properties are not rendered

This commit is contained in:
Johannes Meyer 2019-12-05 15:12:19 +01:00
parent f49ac81e42
commit 52df0eb399
1 changed files with 1 additions and 1 deletions

View File

@ -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>