aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/navapps.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-27 17:51:49 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-27 17:51:49 +0100
commit8b5793e629baaf2084909d310d967abda277ae81 (patch)
tree57009debebe6ea5dea06367a2a62f1e2cd4c1da9 /view/tpl/navapps.tpl
parentde668f5999f0741e85c6791c2a76c0a30a7591f7 (diff)
downloadvolse-hubzilla-8b5793e629baaf2084909d310d967abda277ae81.tar.gz
volse-hubzilla-8b5793e629baaf2084909d310d967abda277ae81.tar.bz2
volse-hubzilla-8b5793e629baaf2084909d310d967abda277ae81.zip
more work on app-bin
Diffstat (limited to 'view/tpl/navapps.tpl')
-rw-r--r--view/tpl/navapps.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/view/tpl/navapps.tpl b/view/tpl/navapps.tpl
index ce5189eb1..de4a6223c 100644
--- a/view/tpl/navapps.tpl
+++ b/view/tpl/navapps.tpl
@@ -1,8 +1,9 @@
-<ul class="dropdown-menu">
+<ul class="dropdown-menu" style="max-height: 80vh">
{{foreach $apps as $app}}
<li><a href="{{$app.url}}">{{if $icon}}<i class="app-icon fa fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" />{{/if}}&nbsp;{{$app.name}}</a></li>
{{/foreach}}
+ {{if $localuser}}
<li class="divider"></li>
- <li><a href="/apps/edit"><i class="app-icon fa fa-pencil"></i>&nbsp;Edit Apps</a></li>
- <li><a href="/appman"><i class="app-icon fa fa-plus-circle"></i>&nbsp;Add App</a></li>
+ <li><a href="/apps/edit"><i class="app-icon fa fa-plus-circle"></i>&nbsp;Add Apps</a></li>
+ {{/if}}
</ul>