ui: fix message.FLAG_ALERT display

This commit is contained in:
undefined committed 2022-12-13 21:36:31 +08:00
1 parent 13c9e86bd9
commit 71f5f5d8fb
3 files changed
+24 -8

No files matched your search

@@ -7,7 +7,7 @@
{% if UserContext %}{% include "partials/header_mobile.html" %}{% endif %}
<div class="main">
{% for item in ui.getNodes('Notification').concat(notification or []) %}{% if item.checker(handler) %}
<div class="row"><blockquote class="{{ item.args.type }}">{{ _(item.name).format(item.args.args or []) }}</blockquote></div>
<div class="row typo"><blockquote class="{{ item.args.type }}">{{ _(item.name).format(item.args.args or [])|nl2br|safe }}</blockquote></div>
{% endif %}{% endfor %}
{% block content %}{% endblock %}
</div>