make icons macros instead of svg files
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{% from 'common/macros.html' import pager, timestamp %}
|
||||
{% from 'common/icons.html' import icn_bookmark, icn_lock, icn_sticky %}
|
||||
{% extends "base.html" %}
|
||||
{% block title %}browsing topic {{ topic['name'] }}{% endblock %}
|
||||
{% block content %}
|
||||
@@ -33,7 +34,7 @@
|
||||
<div class="thread">
|
||||
<div class="thread-sticky-container contain-svg">
|
||||
{% if thread['is_stickied'] %}
|
||||
<img src="/static/misc/sticky.svg">
|
||||
{{ icn_sticky() }}
|
||||
<i>Stickied</i>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -56,7 +57,7 @@
|
||||
</div>
|
||||
<div class="thread-locked-container contain-svg">
|
||||
{% if thread['is_locked'] %}
|
||||
<img src="/static/misc/lock.svg">
|
||||
{{ icn_lock() }}
|
||||
<i>Locked</i>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user