diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-06 20:10:10 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-06 20:10:10 +0100 |
commit | 70edcabca1e9341b857c469760c88e5c9d318c53 (patch) | |
tree | 6af269b8e2d64e3be5ff6036e38e860e55fe2f33 /view/tpl/nav.tpl | |
parent | dce5e8d0ccc1bb01b7db53af67bd872704a918ed (diff) | |
download | volse-hubzilla-70edcabca1e9341b857c469760c88e5c9d318c53.tar.gz volse-hubzilla-70edcabca1e9341b857c469760c88e5c9d318c53.tar.bz2 volse-hubzilla-70edcabca1e9341b857c469760c88e5c9d318c53.zip |
move icon stuff back to app_render() and send navapps through app_render()
Diffstat (limited to 'view/tpl/nav.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 972b919fa..236cde230 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -170,7 +170,13 @@ <li class=""> <a href="#" data-toggle="dropdown"><i class="fa fa-bars"></i></a> <ul class="dropdown-menu"> - {{$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> </li> </ul> |