summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLe Jeune Yann <lj.yann@gmail.com>2011-01-09 01:38:41 +0100
committerLe Jeune Yann <lj.yann@gmail.com>2011-01-09 01:38:41 +0100
commitbd9a7b9981e0cdd787a6ec774c55bc875fbadb64 (patch)
tree793e2d9080e3bc16d8f8dac993cbe64cda43c805
parente8a279941c20e8c6bf5b4eef348bb1466f7ff751 (diff)
downloadIshtar-bd9a7b9981e0cdd787a6ec774c55bc875fbadb64.tar.bz2
Ishtar-bd9a7b9981e0cdd787a6ec774c55bc875fbadb64.zip
Deuxieme essais de Template a base de copier/coller en reprenant la boucle du confirm_wizard. Il faut avoir calculé la deadline si il y en a une. Je ne savais gérer le test. Mais ça viendra. :)
-rw-r--r--ishtar/templates/wizard_done_summary_2.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/ishtar/templates/wizard_done_summary_2.html b/ishtar/templates/wizard_done_summary_2.html
new file mode 100644
index 000000000..66a572542
--- /dev/null
+++ b/ishtar/templates/wizard_done_summary_2.html
@@ -0,0 +1,23 @@
+{% extends "wizard_done.html" %}
+{% load i18n %}
+{% block content %}
+
+<div class='form'>
+ <p>{% trans {%trans "Item successfully saved"%} %}</p>
+ <p>{% trans "You have saved the following informations:" %}</p>
+ <p>{% trans {%trans "The file must be processed before :"%} %} {% calculated_deadline %} </p>
+ <p>{% trans {%trans "The person in charge is : "%} %} {% responsible %} </p>
+ <p>{% trans {%trans "The internal reference of this file is :"%} %} {% Year %} - {% ref_index %} [{% ref_string %}]</p>
+
+ {% for form_label, form_data in datas %}
+ <table class='confirm'>
+ <caption>{{form_label}}</caption>
+ {% for label, data, cls in form_data %}
+ <tr{%if cls%} class='{{cls}}'{%endif%}><th>{{label}}</th><td>{{data}}</td></th>
+ {% endfor %}
+ </table>
+ {% endfor %}
+
+</div>
+
+{% endblock %}