aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-01-27 14:00:27 +0100
committerMario Vavti <mario@mariovavti.com>2017-01-27 14:00:27 +0100
commit606463114bcec8819c9c6fb2f9b6370576b909ce (patch)
treea6b8dd117c5ca1c33d218fe380f38b70435130f7
parent80e1130bb5d7dcbfeb0fa2af7038237f65a3a0db (diff)
downloadvolse-hubzilla-606463114bcec8819c9c6fb2f9b6370576b909ce.tar.gz
volse-hubzilla-606463114bcec8819c9c6fb2f9b6370576b909ce.tar.bz2
volse-hubzilla-606463114bcec8819c9c6fb2f9b6370576b909ce.zip
add icons and links to appman and apps edit to app-bin
-rw-r--r--view/tpl/navapps.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/view/tpl/navapps.tpl b/view/tpl/navapps.tpl
index fe6549139..ce5189eb1 100644
--- a/view/tpl/navapps.tpl
+++ b/view/tpl/navapps.tpl
@@ -1,5 +1,8 @@
<ul class="dropdown-menu">
{{foreach $apps as $app}}
- <li><a href="{{$app.url}}">{{$app.name}}</a></li>
+ <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}}
+ <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>
</ul>