fix: properly create svgs static paths #2

Merged
radex merged 1 commit from fix/static-svgs into master 2024-01-31 13:24:05 +00:00
Showing only changes of commit 23c008914b - Show all commits

View file

@ -1,4 +1,5 @@
{% load static %}
{% if category and category.icon_id %}
<div class="containericon" title="{{ category.name }}"><img src="/static/icons/{{ category.icon_id }}.svg" />
<div class="containericon" title="{{ category.name }}"><img src="{% static 'icons/' %}{{ category.icon_id }}.svg" />
</div>
{% endif %}