aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/navapps.tpl
blob: a90fdbaf241da6d76da57c6dabc2fede21a24272 (plain) (blame)
1
2
3
4
5
6
7
8
9
<ul class="dropdown-menu">
	{{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-plus-circle"></i>&nbsp;Add Apps</a></li>
	{{/if}}
</ul>