diff options
Diffstat (limited to 'view/tpl/myapps.tpl')
-rwxr-xr-x | view/tpl/myapps.tpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/view/tpl/myapps.tpl b/view/tpl/myapps.tpl index 074965985..d0c741bf4 100755 --- a/view/tpl/myapps.tpl +++ b/view/tpl/myapps.tpl @@ -1,6 +1,13 @@ <div class="generic-content-wrapper"> <div class="section-title-wrapper"> - <h2>{{$title}}{{$cat}}</h2> + {{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}} |