Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make generation of HTML tag somewhat prettier

Roland Geider3d58f3155208
diff --git a/wger/config/templates/language/view.html b/wger/config/templates/language/view.html
index 43d2c181c..e024c1c73 100644
--- a/wger/config/templates/language/view.html
+++ b/wger/config/templates/language/view.html
@@ -51,14 +51,11 @@ in A).{% endblocktrans %}</p>
</a>
</td>
<td>
- {% if config.show %}
- <img src="{% static 'images/icons/status-on.svg' %}"
- {% else %}
- <img src="{% static 'images/icons/status-off.svg' %}"
- {% endif %}
- width="16"
- height="16"
- alt="">
+
+ <img src="{% if config.show %}{% static 'images/icons/status-on.svg' %}{% else %}{% static 'images/icons/status-off.svg' %}{% endif %}"
+ width="16"
+ height="16"
+ alt="">
</td>
</tr>
{% endfor %}