aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/app.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-02-03 12:12:05 +0100
committerMario Vavti <mario@mariovavti.com>2017-02-03 12:12:05 +0100
commitdce9a70ff59658249abeb58af46144eea16c721b (patch)
tree379a4c0a0c94a5a2c10563286da1c43c14ab42d6 /view/tpl/app.tpl
parent631a8278d34da70ff312b0dcc11f8e486a4d4597 (diff)
downloadvolse-hubzilla-dce9a70ff59658249abeb58af46144eea16c721b.tar.gz
volse-hubzilla-dce9a70ff59658249abeb58af46144eea16c721b.tar.bz2
volse-hubzilla-dce9a70ff59658249abeb58af46144eea16c721b.zip
check for app-icons in app_list() instead of app_render()
Diffstat (limited to 'view/tpl/app.tpl')
-rw-r--r--view/tpl/app.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index 434653e1e..a389695ee 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 $icon}}<i class="app-icon fa fa-fw fa-{{$icon}}"></i>{{else}}<img src="{{$app.photo}}" width="80" height="80" />{{/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}}
<div class="app-name" style="text-align:center;">{{$app.name}}</div>
</a>
</div>