diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-13 15:56:39 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-13 15:56:39 +0200 |
| commit | ba21ff74101f38b5413afe0330a9f96368029af5 (patch) | |
| tree | 009d0ad32f991e474c0dfab18ff7c97c17fe74cc | |
| parent | 9600ba9eb12f9577f8e36233135d7d8938de5090 (diff) | |
| download | Chimère-ba21ff74101f38b5413afe0330a9f96368029af5.tar.bz2 Chimère-ba21ff74101f38b5413afe0330a9f96368029af5.zip | |
Fix submission with bootstrap
| -rw-r--r-- | chimere/templates/chimere/blocks/submited.html | 9 |
1 files 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 %} - <div class='edit' id='submited-window'> - <p>{% trans "Your new proposition/modification has been submited. A moderator will treat your submission shortly. Thanks!" %}</p> - </div> +{% 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 %} <script type='text/javascript'> $(function(){ $("#submited-window").dialog({ @@ -25,3 +25,4 @@ }); }); </script> +{% endcomment %} |
