ui: show default icon for source without icon
This commit is contained in:
parent
074cde7cd5
commit
3d4f43d6e3
|
@ -54,9 +54,10 @@
|
||||||
<a href="{{ source.url }}" class="pf-c-login__main-footer-links-item-link">
|
<a href="{{ source.url }}" class="pf-c-login__main-footer-links-item-link">
|
||||||
{% if source.icon_path %}
|
{% if source.icon_path %}
|
||||||
<img src="{% static source.icon_path %}" alt="{{ source.name }}">
|
<img src="{% static source.icon_path %}" alt="{{ source.name }}">
|
||||||
{% endif %}
|
{% elif source.icon_url %}
|
||||||
{% if source.icon_url %}
|
|
||||||
<img src="icon_url" alt="{{ source.name }}">
|
<img src="icon_url" alt="{{ source.name }}">
|
||||||
|
{% else %}
|
||||||
|
<i class="pf-icon pf-icon-arrow" title="{{ source.name }}"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Reference in a new issue