forked from wiktor/spejstore-new
fix category icons
This commit is contained in:
parent
a991063084
commit
cba1e2fd86
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue