summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-14 16:17:24 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-14 16:17:24 +0200
commitc53a53f705908c79fcb330de6d612b8eae1ea28b (patch)
tree22ac7c5d306ada4b4f9a755412a2e3cf3527b8ba /apps/files
parent82cab257622759d1b64582f27de33a982c79c158 (diff)
downloadnextcloud-server-c53a53f705908c79fcb330de6d612b8eae1ea28b.tar.gz
nextcloud-server-c53a53f705908c79fcb330de6d612b8eae1ea28b.zip
Allow files app nav entries to have a different icon class
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/templates/appnavigation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index f586b0ecb28..70b98303b06 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -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>