diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-15 11:18:58 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-15 11:18:58 +0200 |
commit | 1a2475227b6777e016ec931ddae533437bfbb2dd (patch) | |
tree | 6f7a4038101c49361927449cb7b2fa77041d3673 /apps/files | |
parent | 1a894bd0d8ab034f35dbb3b723dd195e7f66aab4 (diff) | |
parent | c53a53f705908c79fcb330de6d612b8eae1ea28b (diff) | |
download | nextcloud-server-1a2475227b6777e016ec931ddae533437bfbb2dd.tar.gz nextcloud-server-1a2475227b6777e016ec931ddae533437bfbb2dd.zip |
Merge pull request #15613 from owncloud/allow-files-nav-icons
Allow files app nav entries to have a different icon class
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 |
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> |