Refactor icon rendering; replace direct icon calls with render_icon function for consistency across templates
This commit is contained in:
parent
89cee64f04
commit
30d3cd7c45
7 changed files with 15 additions and 128 deletions
|
@ -75,7 +75,7 @@
|
|||
|
||||
{% block script %}
|
||||
const icons = {
|
||||
add: `{{ icons.plus(16)|safe }}`,
|
||||
edit: `{{ icons.pencil(16)|safe }}`,
|
||||
add: `{{ icons.render_icon('plus', 16)|safe }}`,
|
||||
edit: `{{ icons.render_icon('pencil', 16)|safe }}`,
|
||||
};
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue