diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-22 11:22:43 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-22 11:22:43 +0100 |
commit | 55924f5c5b147412fda350a3b7c2ecfaef523e19 (patch) | |
tree | 3a9cb46ff8b67b627a6c0ae7cc693b0d21952076 /view/tpl/myapps.tpl | |
parent | 956f0043fc73c290d9154ab06337b995ddfd1a1c (diff) | |
download | volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.tar.gz volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.tar.bz2 volse-hubzilla-55924f5c5b147412fda350a3b7c2ecfaef523e19.zip |
apps improvements
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}} |