aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/myapps.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-22 11:22:43 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-22 11:22:43 +0100
commit55924f5c5b147412fda350a3b7c2ecfaef523e19 (patch)
tree3a9cb46ff8b67b627a6c0ae7cc693b0d21952076 /view/tpl/myapps.tpl
parent956f0043fc73c290d9154ab06337b995ddfd1a1c (diff)
downloadvolse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.tar.gz
volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.tar.bz2
volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.zip
apps improvements
Diffstat (limited to 'view/tpl/myapps.tpl')
-rwxr-xr-xview/tpl/myapps.tpl9
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>&nbsp;{{$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}}