fix category icons

This commit is contained in:
radex 2024-01-30 23:38:56 +01:00
parent a991063084
commit cba1e2fd86
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 %}
<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 %}