diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-02-04 18:36:50 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-02-04 18:36:50 +0100 |
commit | 178e3d5bc8237cd6dcf30c1ac0d2e8a24859cc47 (patch) | |
tree | 49074dcbe33bbe58e86b984b92af9ef568a4c4ba /view/tpl/app.tpl | |
parent | a94254a3758cb25926fc67fb5eeb90ce9c241467 (diff) | |
download | volse-hubzilla-178e3d5bc8237cd6dcf30c1ac0d2e8a24859cc47.tar.gz volse-hubzilla-178e3d5bc8237cd6dcf30c1ac0d2e8a24859cc47.tar.bz2 volse-hubzilla-178e3d5bc8237cd6dcf30c1ac0d2e8a24859cc47.zip |
allow featuring of apps in /apps and update some more apd files
Diffstat (limited to 'view/tpl/app.tpl')
-rw-r--r-- | view/tpl/app.tpl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index a389695ee..d4b4c19e8 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -1,6 +1,6 @@ <div class="app-container"> <div class="app-detail{{if $deleted}} app-deleted{{/if}}"> - <a href="{{$app.url}}" {{if $ap.target}}target="{{$ap.target}}" {{/if}}{{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{else}}title="{{$app.name}}"{{/if}}>{{if $app.icon}}<i class="app-icon fa fa-fw fa-{{$app.icon}}"></i>{{else}}<img src="{{$app.photo}}" width="80" height="80" />{{/if}} + <a href="{{$app.url}}" {{if $ap.target}}target="{{$app.target}}" {{/if}}{{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{else}}title="{{$app.name}}"{{/if}}>{{if $app.icon}}<i class="app-icon fa fa-fw fa-{{$app.icon}}"></i>{{else}}<img src="{{$app.photo}}" width="80" height="80" />{{/if}} <div class="app-name" style="text-align:center;">{{$app.name}}</div> </a> </div> @@ -10,17 +10,18 @@ <a href="{{$app.page}}" class="btn btn-default" title="{{$purchase}}" ><i class="fa fa-external"></i></a> </div> {{/if}} - {{if $install || $update || $delete }} + <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> </form> </div> {{/if}} - {{/if}} </div> |