aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/nav.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-06 20:36:26 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-06 20:36:26 +0100
commitc75357faa33c0dcc7e45ad0abe79de2fbba3e3a6 (patch)
treef3191fac28292b5c0022d1a8246bc69551f09ded /view/tpl/nav.tpl
parente9a27393b8f1c499f2e69bfb551f9c4973d88ca7 (diff)
downloadvolse-hubzilla-c75357faa33c0dcc7e45ad0abe79de2fbba3e3a6.tar.gz
volse-hubzilla-c75357faa33c0dcc7e45ad0abe79de2fbba3e3a6.tar.bz2
volse-hubzilla-c75357faa33c0dcc7e45ad0abe79de2fbba3e3a6.zip
also take care of the collapsed state apps
Diffstat (limited to 'view/tpl/nav.tpl')
-rwxr-xr-xview/tpl/nav.tpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 236cde230..f101393a4 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -183,7 +183,13 @@
</div>
<div class="collapse navbar-collapse" id="navbar-collapse-2">
<ul class="nav navbar-nav navbar-left hidden-sm hidden-md hidden-lg">
- {{$navapps}}
+ {{foreach $navapps as $navapp}}
+ {{$navapp}}
+ {{/foreach}}
+ {{if $localuser}}
+ <li class="divider"></li>
+ <li><a href="/apps"><i class="generic-icons-nav fa fa-fw fa-plus-circle"></i>Add Apps</a></li>
+ {{/if}}
</ul>
</div>