aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/navapps.tpl
diff options
context:
space:
mode:
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>