Allow files app nav entries to have a different icon class

This commit is contained in:
Morris Jobke 2015-04-14 16:17:24 +02:00
parent 82cab25762
commit c53a53f705
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<?php foreach ($_['navigationItems'] as $item) { ?>
<li data-id="<?php p($item['id']) ?>" class="nav-<?php p($item['id']) ?>">
<a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>"
class="nav-icon-<?php p($item['id']) ?> svg">
class="nav-icon-<?php p($item['icon'] !== '' ? $item['icon'] : $item['id']) ?> svg">
<?php p($item['name']);?>
</a>
</li>