[web] fix annoucements and notifications close #4292
Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
|
||||
{% if ui_texts.ui_announcement_text and ui_texts.ui_announcement_active and not is_root_uri %}
|
||||
<div class="container">
|
||||
<div class="alert alert-{{ ui_texts.ui_announcement_type }}">{{ ui_texts.ui_announcement_text|rot13 }}</div>
|
||||
<div class="alert alert-{{ ui_texts.ui_announcement_type }}">{{ ui_texts.ui_announcement_text }}</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -169,8 +169,8 @@ function recursiveBase64StrToArrayBuffer(obj) {
|
||||
});
|
||||
// TFA, CSRF, Alerts in footer.inc.php
|
||||
// Other general functions in mailcow.js
|
||||
{% for alert_type, alert_msg in aletrs %}
|
||||
mailcow_alert_box(alert_msg, alert_type);
|
||||
{% for alert_type, alert_msg in alerts %}
|
||||
mailcow_alert_box("{{ alert_msg }}", "{{ alert_type }}");
|
||||
{% endfor %}
|
||||
|
||||
// Confirm TFA modal
|
||||
|
Reference in New Issue
Block a user