fix: properly create svgs static paths

pull/2/head
palid 2024-01-31 14:22:17 +01:00
parent 3c22a7b8c1
commit 23c008914b
Signed by: palid
SSH Key Fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI
1 changed files with 2 additions and 1 deletions

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 %}