From ba21ff74101f38b5413afe0330a9f96368029af5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 13 Sep 2017 15:56:39 +0200 Subject: Fix submission with bootstrap --- chimere/templates/chimere/blocks/submited.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/chimere/templates/chimere/blocks/submited.html b/chimere/templates/chimere/blocks/submited.html index 5e4e546..873ed53 100644 --- a/chimere/templates/chimere/blocks/submited.html +++ b/chimere/templates/chimere/blocks/submited.html @@ -1,7 +1,7 @@ -{% load i18n %} -
-

{% trans "Your new proposition/modification has been submited. A moderator will treat your submission shortly. Thanks!" %}

-
+{% load i18n bootstrap %} + {% with new_prop="Your new proposition/modification has been submited. A moderator will treat your submission shortly. Thanks!"|translate %} + {% bootstrap_modal "submited-window" "" new_prop %} +{% comment %} +{% endcomment %} -- cgit v1.2.3