ui: show default icon for source without icon

This commit is contained in:
Jens Langhammer 2020-02-23 15:09:58 +01:00
parent 074cde7cd5
commit 3d4f43d6e3
1 changed files with 3 additions and 2 deletions

View File

@ -54,9 +54,10 @@
<a href="{{ source.url }}" class="pf-c-login__main-footer-links-item-link">
{% if source.icon_path %}
<img src="{% static source.icon_path %}" alt="{{ source.name }}">
{% endif %}
{% if source.icon_url %}
{% elif source.icon_url %}
<img src="icon_url" alt="{{ source.name }}">
{% else %}
<i class="pf-icon pf-icon-arrow" title="{{ source.name }}"></i>
{% endif %}
</a>
</li>