aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/app.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-10 21:21:50 -0700
committerfriendica <info@friendica.com>2014-06-10 21:21:50 -0700
commit13ba9ef0037656b1e12d627f767fc2fc8781632a (patch)
treed447808b595ca2ae26e24ea7ec0646c2a625e000 /view/tpl/app.tpl
parente41375c8892b547c4bb01cb07fc5b771a756fd6e (diff)
downloadvolse-hubzilla-13ba9ef0037656b1e12d627f767fc2fc8781632a.tar.gz
volse-hubzilla-13ba9ef0037656b1e12d627f767fc2fc8781632a.tar.bz2
volse-hubzilla-13ba9ef0037656b1e12d627f767fc2fc8781632a.zip
merge the app menus
Diffstat (limited to 'view/tpl/app.tpl')
-rw-r--r--view/tpl/app.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index 09894c3d8..4719f7f96 100644
--- a/view/tpl/app.tpl
+++ b/view/tpl/app.tpl
@@ -1,7 +1,8 @@
<div class="app-container">
-<a href="{{if $app.alt_url}}{{$app.alt_url}}{{else}}{{$app.url}}{{/if}}" {{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{/if}}><img src="{{$app.photo}}" width="80" height="80" />
+<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}}><img src="{{$app.photo}}" width="80" height="80" />
<div class="app-name">{{$app.name}}</div>
</a>
+{{if $app.type !== 'system'}}
{{if $purchase}}
<a href="{{$app.page}}" class="btn btn-default" title="{{$purchase}}" ><i class="icon-external"></i></a>
{{/if}}
@@ -13,5 +14,6 @@
{{if $delete}}<button type="submit" name="delete" value="{{$delete}}" class="btn btn-default" title="{{$delete}}" ><i class="icon-remove drop-icons"></i></button>{{/if}}
</form>
{{/if}}
+{{/if}}
</div>