Use danger and error message tags to render correctly on admin site.

Closes #1305


(cherry picked from commit f17ebbede6)
This commit is contained in:
Adarnof
2021-11-03 21:02:03 -04:00
committed by Ariel Rin
parent 2bd2c09c23
commit abb5090d63
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
<i class="fas fa-check-circle"></i>
{% elif message.level_tag == "warning" %}
<i class="fas fa-exclamation-circle"></i>
{% elif message.level_tag == "danger" %}
{% elif "danger" in message.level_tag %}
<i class="fas fa-exclamation-triangle"></i>
{% endif %}
</div>