diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-28 21:32:30 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-10-28 21:32:30 +0100 |
commit | d71150129e1189f57d146b31b1042d43ea66083f (patch) | |
tree | af6cbbeb81036c1e20a188359cffd5d9b63debaf /ishtar_common/templates | |
parent | 08e1df4d3a049ed300fa87712fc60a0ec96b26cf (diff) | |
download | Ishtar-d71150129e1189f57d146b31b1042d43ea66083f.tar.bz2 Ishtar-d71150129e1189f57d146b31b1042d43ea66083f.zip |
Display a reminder of items concerned by the current edition (refs #1218)
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r-- | ishtar_common/templates/base.html | 5 | ||||
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/default_wizard.html | 1 | ||||
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/parcels_wizard.html | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/ishtar_common/templates/base.html b/ishtar_common/templates/base.html index e7fdf3e6f..e235df60a 100644 --- a/ishtar_common/templates/base.html +++ b/ishtar_common/templates/base.html @@ -78,6 +78,11 @@ </form> {% endif %}{% endblock %} </div> +{% if reminders %}<fieldset id='reminder'><legend>{% trans "Current items" %}</legend> +{% for lbl, value in reminders%} +<p><strong class='lbl'>{{lbl}}{% trans ":"%}</strong> <span class='value'>{{value}}</span></p> +{% endfor %} +</fieldset>{%endif%} <div id="main_menu"> <ul> {% for section in MENU.childs %} diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html index b2c7189cf..c1c0cb5cf 100644 --- a/ishtar_common/templates/ishtar/wizard/default_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html @@ -21,7 +21,6 @@ {% block wizard_form %} <form action="." method="post" name='wizard'{% if wizard.form.file_upload %} enctype="multipart/form-data"{% endif %}>{% csrf_token %} <div class='form'> -{% if reminder %}<div class='reminder'>{{ reminder }}</div>{%endif%} {{ wizard.form.media }} {{ wizard.management_form }} {% if wizard.form.forms %} diff --git a/ishtar_common/templates/ishtar/wizard/parcels_wizard.html b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html index 5d135a563..b550cf6c4 100644 --- a/ishtar_common/templates/ishtar/wizard/parcels_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html @@ -6,7 +6,6 @@ {% block wizard_form %} <form action="." method="post">{% csrf_token %} <div class='form'> -{% if reminder %}<div class='reminder'>{{ reminder }}</div>{%endif%} {{ wizard.form.media }} {{ wizard.management_form }} {{ wizard.form.management_form }} |