Merge pull request 'fix: properly create svgs static paths' (#2) from fix/static-svgs into master

Reviewed-on: #2
pull/3/head
radex 2024-01-31 13:24:05 +00:00
commit 8ddc4da3b6
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 %}