Skip to content
Snippets Groups Projects
Commit 41712629 authored by Benjamin Becker's avatar Benjamin Becker
Browse files

fix: only render language icon if available

parent 1775e6a8
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,9 @@ Example:
{% if language_of_package != 'Deutsch' and language_of_package %}
<div>{{ _('language') }}:</div>
<p>
{% if language_icon %}
<img src={{ language_icon }} />
{% endif %}
{{ language_of_package }}
</p>
{% endif %}
......
......@@ -63,7 +63,9 @@ Example:
{% endif %}
{% if language_of_package != 'Deutsch' and language_of_package %}
<div class='package-info-pill'>
{% if language_icon %}
<img src={{ language_icon }} />
{% endif %}
{{ language_of_package }}
</div>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment