ui: fix app icon not showing

This commit is contained in:
Jens Langhammer 2020-02-21 22:02:44 +01:00
parent 04b815a33e
commit 2f51f354de
1 changed files with 2 additions and 2 deletions

View File

@ -26,10 +26,10 @@
{% for app in applications %}
<a href="{{ app.launch_url }}" class="pf-c-card pf-m-hoverable pf-m-compact" id="card-1">
<div class="pf-c-card__head">
{% if not app.icon_url %}
{% if not app.meta_icon_url %}
<i class="pf-icon pf-icon-arrow"></i>
{% else %}
<img class="app-icon" src="{{ app.icon_url }}" alt="{% trans 'Application Icon' %}">
<img class="app-icon pf-c-avatar" src="{{ app.meta_icon_url }}" alt="{% trans 'Application Icon' %}">
{% endif %}
</div>
<div class="pf-c-card__header pf-c-title pf-m-md">