1
0
Fork 0

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

Reviewed-on: https://code.hackerspace.pl/hswaw/spejstore/pulls/2
This commit is contained in:
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 %} {% 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 %}