diff options
author | zotlabs <mike@macgirvin.com> | 2017-02-08 11:29:45 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-02-08 11:29:45 -0800 |
commit | 6ee691e0190a7d6488888d2fd5009324e3a88f74 (patch) | |
tree | f518ddee1420f2b14abceefbe8088915b2629b6c /view/tpl | |
parent | 28f083323750e3083c5ba07f685d30b44e1d2482 (diff) | |
parent | eb415fd869b03724b7308320b45b1bdfae6e5142 (diff) | |
download | volse-hubzilla-6ee691e0190a7d6488888d2fd5009324e3a88f74.tar.gz volse-hubzilla-6ee691e0190a7d6488888d2fd5009324e3a88f74.tar.bz2 volse-hubzilla-6ee691e0190a7d6488888d2fd5009324e3a88f74.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/app.tpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index 2ecb5a701..ba97ad501 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -11,19 +11,18 @@ <a href="{{$app.page}}" class="btn btn-default" title="{{$purchase}}" ><i class="fa fa-external"></i></a> </div> {{/if}} - + {{if $install || $update || $delete || $feature}} <div class="app-tools"> <form action="{{$hosturl}}appman" method="post"> <input type="hidden" name="papp" value="{{$app.papp}}" /> - {{if $install || $update || $delete }} {{if $install}}<button type="submit" name="install" value="{{$install}}" class="btn btn-default btn-xs" title="{{$install}}" ><i class="fa fa-arrow-circle-o-down" ></i></button>{{/if}} {{if $edit}}<input type="hidden" name="appid" value="{{$app.guid}}" /><button type="submit" name="edit" value="{{$edit}}" class="btn btn-default btn-xs" title="{{$edit}}" ><i class="fa fa-pencil" ></i></button>{{/if}} {{if $delete}}<button type="submit" name="delete" value="{{if $deleted}}{{$undelete}}{{else}}{{$delete}}{{/if}}" class="btn btn-default btn-xs" title="{{if $deleted}}{{$undelete}}{{else}}{{$delete}}{{/if}}" ><i class="fa fa-trash-o drop-icons"></i></button>{{/if}} - {{/if}} - <button type="submit" name="feature" value="feature" class="btn btn-default btn-xs" ><i class="fa fa-star"{{if $featured}} style="color: gold"{{/if}}></i></button> + {{if $feature}}<button type="submit" name="feature" value="feature" class="btn btn-default btn-xs" ><i class="fa fa-star"{{if $featured}} style="color: gold"{{/if}}></i></button>{{/if}} </form> </div> {{/if}} + {{/if}} </div> {{else}} <li><a href="{{$app.url}}">{{if $icon}}<i class="generic-icons-nav fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="16" height="16" style="margin-right:9px;"/>{{/if}}{{$app.name}}</a></li> |