Skip to content
Snippets Groups Projects
Commit afc41e88 authored by Florent Torregrosa's avatar Florent Torregrosa
Browse files

Issue #3487763 by grimreaper: Fix JS message display

parent de01bf0f
No related branches found
No related tags found
1 merge request!225Issue #3487763 by grimreaper: Fix JS message display
Pipeline #340120 passed with warnings
......@@ -21,12 +21,9 @@
* @ingroup themeable
*/
#}
<div data-drupal-messages>
{% for type, messages in message_list %}
{% set variant = '' %}
{% set variant = (type == 'status') ? 'info' : variant %}
{% set variant = (type == 'status') ? 'success' : variant %}
{% set variant = (type == 'warning') ? 'warning' : variant %}
{% set variant = (type == 'error') ? 'danger' : variant %}
......@@ -44,7 +41,4 @@
'dismissible': true,
}) }}
{% endfor %}
{% endfor %}
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment