diff options
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> |