# HG changeset patch # User Goffi # Date 1597527492 -7200 # Node ID a35ddf972ad2bb07ac451c3ce5c3a1e535c3804c # Parent 672b6137ef2905e3ae11e49ad990250bfceaf75b bulma (base/base.html): display backend confirmation and notifications diff -r 672b6137ef29 -r a35ddf972ad2 sat_templates/templates/bulma/base/base.html --- a/sat_templates/templates/bulma/base/base.html Sat Aug 15 16:40:29 2020 +0200 +++ b/sat_templates/templates/bulma/base/base.html Sat Aug 15 23:38:12 2020 +0200 @@ -82,6 +82,24 @@ {% endblock main_menu %} {% endif %}
+ {% if confirm %} +
+
{% trans %}Success{% endtrans %}
+
+ {% trans %}Your data has been sent correctly.{% endtrans %} +
+
+ {% endif %} + {% if notifications %} + {% for notification in notifications %} +
+
{% trans %}Notification{% endtrans %}
+
+ {{ notification.message }} +
+
+ {% endfor %} + {% endif %}
{% block body %} {% endblock body %}