1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +00:00

Fix toast since Materialize upgrade

This commit is contained in:
Yassine Guedidi 2025-03-01 16:57:19 +01:00
parent 6165e61048
commit 00c618946c
4 changed files with 12 additions and 12 deletions

View file

@ -5,11 +5,11 @@
<div class="card-content">
{% if error %}
<script>Materialize.toast('{{ error.messageKey|trans(error.messageData, 'security') }}', 4000)</script>
<p class="material-toast hidden">{{ error.messageKey|trans(error.messageData, 'security') }}</p>
{% endif %}
{% for flash_message in app.session.flashbag.get('notice') %}
<script>Materialize.toast('{{ flash_message }}')</script>
<p class="material-toast hidden">{{ flash_message }}</p>
{% endfor %}
<div class="row">