mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
nav: also permit fa icons for dependencies
This commit is contained in:
parent
c4b6e4bdda
commit
526af93de8
@ -11,7 +11,7 @@ use ipl\Web\Widget\Icon;
|
||||
<a class="dashboard-link" href="<?= $this->url($item->getUrl(), $item->getUrlParameters()) ?>"<?= $this->propertiesToString($item->getAttributes()) ?>>
|
||||
<div class="link-icon">
|
||||
<?php
|
||||
if (substr($item->getUrl()->getPath(), 0, 9) === 'icingadb/') {
|
||||
if (substr($item->getUrl()->getPath(), 0, 9) === 'icingadb/' || substr($item->getUrl()->getPath(), 0, 13) === 'dependencies/') {
|
||||
echo new Icon($item->getIcon() ?: 'share', [ 'aria-hidden' => 1]);
|
||||
} else {
|
||||
echo $this->icon($item->getIcon() ?: 'forward', null, array('aria-hidden' => true));
|
||||
|
Loading…
x
Reference in New Issue
Block a user