make icons macros instead of svg files

This commit is contained in:
2025-11-21 05:38:51 +03:00
parent 95decd9a56
commit f8101e57c1
15 changed files with 71 additions and 55 deletions

View File

@@ -1,3 +1,4 @@
{% from 'common/icons.html' import icn_lock %}
{% from 'common/macros.html' import timestamp %}
{% extends "base.html" %}
{% block content %}
@@ -33,7 +34,7 @@
</div>
<div class="topic-locked-container contain-svg">
{% if topic['is_locked'] %}
<img src="/static/misc/lock.svg"></img>
{{ icn_lock() }}
<i>Locked</i>
{% endif %}
</div>