spejstore-new/templates/widgets/categoryicon.html

5 lines
168 B
HTML

{% if category and category.icon_id %}
<div class="containericon" title="{{ category.name }}"><img src="/static/icons/{{ category.icon_id }}.svg" />
</div>
{% endif %}