BUGFIX: flashes were not dismissable
This commit is contained in:
parent
702a062bb5
commit
8e7df50ebf
@ -1 +1,2 @@
|
||||
import 'bootstrap';
|
||||
import '/assets/scss/security/login.scss';
|
@ -2,7 +2,7 @@
|
||||
{% for message in messages %}
|
||||
<div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
|
||||
{{ message | trans }}
|
||||
<button type="button" class="btn-close" data-dismiss="alert" aria-label="Close">
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
||||
</button>
|
||||
</div>
|
||||
{% endfor %}
|
||||
@ -10,7 +10,7 @@
|
||||
{% if app.request.server.get('DEMO_MODE') == 'true' %}
|
||||
<div class="alert alert-warning alert-dismissible fade show" role="alert">
|
||||
{{ 'demomode.flashnotice' | trans }}
|
||||
<button type="button" class="btn-close" data-dismiss="alert" aria-label="Close">
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close">
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user