aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/myapps.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/myapps.tpl')
-rwxr-xr-xview/tpl/myapps.tpl14
1 files changed, 10 insertions, 4 deletions
diff --git a/view/tpl/myapps.tpl b/view/tpl/myapps.tpl
index 074965985..dd2a67a63 100755
--- a/view/tpl/myapps.tpl
+++ b/view/tpl/myapps.tpl
@@ -1,11 +1,17 @@
<div class="generic-content-wrapper">
- <div class="section-title-wrapper">
- <h2>{{$title}}{{$cat}}</h2>
+ <div class="section-title-wrapper clearfix">
+ {{if $authed}}
+ {{if $create}}
+ <a href="appman" class="pull-right btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i>&nbsp;{{$create}}</a>
+ {{else}}
+ <a href="apps/edit{{if $cat}}/?f=&cat={{$cat}}{{/if}}" class="pull-right btn btn-primary btn-sm">{{$manage}}</a>
+ {{/if}}
+ {{/if}}
+ <h2>{{$title}}{{if $cat}} - {{$cat}}{{/if}}</h2>
</div>
- <div class="section-content-wrapper">
+ <div class="clearfix section-content-wrapper">
{{foreach $apps as $ap}}
{{$ap}}
{{/foreach}}
- <div class="clear"></div>
</div>
</div>