diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-17 12:39:13 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-21 14:00:37 +0200 |
commit | edc9f176e5312a2279ab5d1588670baebba2507c (patch) | |
tree | ed9804358889f659173febbdc0db0d3f3b5469a4 /apps | |
parent | 9b472024a14b84fdf79adb0a5a741be52dd7144e (diff) | |
download | nextcloud-server-edc9f176e5312a2279ab5d1588670baebba2507c.tar.gz nextcloud-server-edc9f176e5312a2279ab5d1588670baebba2507c.zip |
Allow custom classes on nav entries
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/appnavigation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index bbd78079d39..0a40c7ba815 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -1,6 +1,6 @@ <div id="app-navigation"> <ul class="with-icon"> - <li id="quota" class="section <?php + <li id="quota" class="section pinned <?php if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) { ?>has-tooltip" title="<?php p($_['usage_relative'] . '%'); } ?>"> @@ -19,7 +19,7 @@ </a> </li> <?php foreach ($_['navigationItems'] as $item) { ?> - <li data-id="<?php p($item['id']) ?>" class="nav-<?php p($item['id']) ?>"> + <li data-id="<?php p($item['id']) ?>" class="nav-<?php p($item['id']) ?> <?php p($item['classes']) ?>"> <a href="<?php p(isset($item['href']) ? $item['href'] : '#') ?>" class="nav-icon-<?php p($item['icon'] !== '' ? $item['icon'] : $item['id']) ?> svg"> <?php p($item['name']);?> |