diff options
Diffstat (limited to 'view/tpl/myapps.tpl')
-rwxr-xr-x | view/tpl/myapps.tpl | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/view/tpl/myapps.tpl b/view/tpl/myapps.tpl index c654993b7..d0c741bf4 100755 --- a/view/tpl/myapps.tpl +++ b/view/tpl/myapps.tpl @@ -1,8 +1,18 @@ -<div class="generic-content-wrapper-styled"> -<h3>{{$title}}{{$cat}}</h3> - -{{foreach $apps as $ap}} -{{$ap}} -{{/foreach}} -<div class="clear"></div> +<div class="generic-content-wrapper"> + <div class="section-title-wrapper"> + {{if $authed}} + {{if $create}} + <a href="appman" class="pull-right btn btn-success btn-xs"><i class="fa fa-pencil-square-o"></i> {{$create}}</a> + {{else}} + <a href="apps/edit{{if $cat}}/?f=&cat={{$cat}}{{/if}}" class="pull-right btn btn-primary btn-xs">{{$manage}}</a> + {{/if}} + {{/if}} + <h2>{{$title}}{{if $cat}} - {{$cat}}{{/if}}</h2> + </div> + <div class="section-content-wrapper"> + {{foreach $apps as $ap}} + {{$ap}} + {{/foreach}} + <div class="clear"></div> + </div> </div> |