diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-01-27 14:00:27 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-01-27 14:00:27 +0100 |
commit | 606463114bcec8819c9c6fb2f9b6370576b909ce (patch) | |
tree | a6b8dd117c5ca1c33d218fe380f38b70435130f7 /view/tpl | |
parent | 80e1130bb5d7dcbfeb0fa2af7038237f65a3a0db (diff) | |
download | volse-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
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/navapps.tpl | 5 |
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}} {{$app.name}}</a></li> {{/foreach}} + <li class="divider"></li> + <li><a href="/apps/edit"><i class="app-icon fa fa-pencil"></i> Edit Apps</a></li> + <li><a href="/appman"><i class="app-icon fa fa-plus-circle"></i> Add App</a></li> </ul> |