mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix message.FLAG_ALERT display
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user