# HG changeset patch # User Goffi # Date 1509122921 -7200 # Node ID 37fd11d7123391d7d6a21f7d28f4fbde191b2f44 # Parent 7d5cca978eebf9b778b28d48c19a8a8819ae20f1 base: confirmation message can now be customised using "confirm" blog diff -r 7d5cca978eeb -r 37fd11d71233 default/base/base.html --- a/default/base/base.html Sun Sep 24 16:48:15 2017 +0200 +++ b/default/base/base.html Fri Oct 27 18:48:41 2017 +0200 @@ -35,11 +35,18 @@ {{ script.generate_scripts() }} + {% if confirm %} - {% block confirm %} -
{% trans %}Your answer has been recorded correctly.{% endtrans %}
- {%endblock confirm %} + {# confirmation message used when post data has been handled correctly #} + {% block confirm %} +
+ {% block confirm_message %} + {% trans %}Your data has been sent correctly.{% endtrans %} + {% endblock confirm_message %} +
+ {% endblock confirm %} {% endif %} +
{% block body %} {% endblock body %}