diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-08 09:39:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-08 09:39:46 +0100 |
commit | bc2b948f1f6e62b1c277a4042200bb6678956f3f (patch) | |
tree | 8586c30e495607eee23f16c0aad40974f0711275 /view/tpl/myapps.tpl | |
parent | 23e3e2c50499fab52769929a448e73012fd915af (diff) | |
parent | ff9442474d07cce24c8f66db39ec34471c3874a2 (diff) | |
download | volse-hubzilla-2.2.tar.gz volse-hubzilla-2.2.tar.bz2 volse-hubzilla-2.2.zip |
Merge branch 2.2RC2.2
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> |