diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-06 20:36:26 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-06 20:36:26 +0100 |
commit | c75357faa33c0dcc7e45ad0abe79de2fbba3e3a6 (patch) | |
tree | f3191fac28292b5c0022d1a8246bc69551f09ded /view/tpl | |
parent | e9a27393b8f1c499f2e69bfb551f9c4973d88ca7 (diff) | |
download | volse-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')
-rwxr-xr-x | view/tpl/nav.tpl | 8 |
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> |