Merge pull request #15613 from owncloud/allow-files-nav-icons

Allow files app nav entries to have a different icon class
This commit is contained in:
Thomas Müller 2015-04-15 11:18:58 +02:00
commit 1a2475227b
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>