summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/templates/chimere/blocks/submited.html9
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 %}