1
0
Fork 0

fix: properly create svgs static paths

This commit is contained in:
Dariusz Niemczyk 2024-01-31 14:22:17 +01:00
parent 3c22a7b8c1
commit 23c008914b
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{% load static %}
{% if category and category.icon_id %} {% 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> </div>
{% endif %} {% endif %}