diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-02-02 18:56:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-02-02 18:56:44 +0100 |
commit | e5387edf43ceee421ce69a737585ef1ccf857249 (patch) | |
tree | 36e1e1cadd4d900ade9d57063153384b9e009422 | |
parent | 6433f39eb437c068f3de33a8e7a19ae3ed9e941c (diff) | |
parent | f82f50f4b1a8945ae289d70ca8d8a183a960db0a (diff) | |
download | Ishtar-e5387edf43ceee421ce69a737585ef1ccf857249.tar.bz2 Ishtar-e5387edf43ceee421ce69a737585ef1ccf857249.zip |
Merge branch 'master' of lysithea.proxience.com:/home/proxience/git/ishtar
-rw-r--r-- | ishtar/templates/wizard_file_sheet.html | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/ishtar/templates/wizard_file_sheet.html b/ishtar/templates/wizard_file_sheet.html new file mode 100644 index 000000000..b6a530a3b --- /dev/null +++ b/ishtar/templates/wizard_file_sheet.html @@ -0,0 +1,120 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} + +<p>{%trans "File description sheet"%}</p> <!-- Title 1 --> +<p>{%trans "Year"%} : {% file.year %}</p> <!-- year --> +<p>{%trans "Numerical reference"%} : {% file.index %}</p> <!-- index --> + +<p>{%trans "File's name"%} : {% file.internal_ref %}</p> <!-- common name of the file --> + +<p>{%trans "Edition date"%} : {% date %}</p> <!-- date = now --> +<p>{%trans "Reception date"%} : {% file.recept_date %}</p> <!-- reception date --> +<p>{%trans "Creation date"%} : {% file.crea_date %}</p> <!-- creation date --> +{% if file.deadline_date and not file.acts %} + <p>{%trans "Deadline"%} : {% file.deadline_date %}</p> <!-- calculated deadline for some preventive files , see saisine_type, not displayed if an act as been send --> +{% endif %} + +<p>{%trans "Responsible"%} : {% file.responsible %}</p> <!-- file's responsible displayed as Title/Surname/Name/Organisation--> + +{% if file.is_active %}<!-- active or inactive file --> + <p>{%trans "Active file"%}</p> +{% endif %} +{% if file.is_inactive %} + <p>{%trans "Closed file"%}</p> + <p>{%trans "Closure date" %} : {% file.closure_date %} {%trans "by" %} {% file.closer_user%}</p> +{% endif %} + +<p>{%trans "Type"%} : {% file.type %}</p> <!-- programed or preventive --> + +{% if file.related %}<p>{%trans "Related file"%} : {% file.related %}</p>{% endif %} <!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file, mais sais pas faire. Optionnel à ce stade. --> + +<!-- Localisation --> +<p>{%trans "Communes"%} : {% file.communes %}</p> <!-- Concat of the communes TITLE 2--> + +<p>{%trans "Principal adress"%} : {% file.princ_adress %}</p> <!-- Principal adress of the place --> +<p>{%trans "Complementary adress"%} : {% file.complem_adress %}</p> <!-- Complementary adress of the place --> +<p>{%trans "Postal code"%} : {% file.postal_code %}</p> <!-- Postal code of the place --> + + +<!-- Surface --> +<p>{%trans "Surface"%} : {% file.surface %} ({% file.surface_ha %) ha)</p> <!-- surface in square meters and hectares--> + + +<!-- Preventive file --> + +{% if file.is_preventive %} + <p>{%trans "Planed surface"%} : {% file.planed_surface %} ({% file.planed_surface_ha %) ha)</p> <!-- planed surface in square meters and hectares--> + <p>{%trans "Saisine type"%} : {% file.saisine_type %}</p> <!-- saisine type --> + {% if file.service %}<p>{%trans "Service"%} : {% file.service %}</p>{% endif %} <!-- requesting service --> + {% if file.permit_type %}<p>{%trans "Permit type"%} : {% file.permit_type %}</p>{% endif %} <!-- permit type --> + {% if file.permit_ref %}<p>{%trans "Permit reference"%} : {% file.permit_ref %}</p>{% endif %} <!-- permit reference --> + {% if file.contractor_org %}<p>{%trans "Contractor organisation"%} : {% file.contractor_org %}</p>{% endif %} <!-- Contractor's organisation displayed as concat of Name/Adress/postal_code/city --> + {% if file.contractor %}<p>{%trans "Contractor"%} : {% file.contractor %}</p>{% endif %} <!-- contractor displayed as concat of title/Surname/Name/Adress/postal_code/city --> + <p>{%trans "Numerical reference"%} : {% file.index %}</p> <!-- index --> +{% endif %} + +<p>{%trans "Comments"%} : {% file.comments %}</p> <!-- free text comments --> + +<!-- associated acts --> + + <table class='adm_acts'> <!-- associated acts class--> + <caption>{%trans "Admninistrative acts"%}</caption> + <tr> + {% for label, in file.data_acts %} + <th>{{label}}</th> + {% endfor %} + </tr> + {% for data, in file.data_acts %} + <tr> + <td>{{year}}</td> + <td>{{reference}}</td> + <td>{{type}}</td> + <td>{{date}}</td> + </tr> + {% endfor %} + </table> + +<!-- associated operations --> + + <table class='adm_ope'> <!-- associated ope class--> + <caption>{%trans "Associated operations"%}</caption> + <tr> + {% for label, in file.data_ope %} + <th>{{label}}</th> + {% endfor %} + </tr> + {% for data, in file.data_ope %} + <tr> + <td>{{year}}</td> + <td>{{reference}}</td> + <td>{{patriarche}}</td> + <td>{{type}}</td> + <td>{{head_scientist}}</td> + <td>{{date_debut}}</td> + <td>{{date_fin}}</td> + <td>{{link_to_ope_sheet}}</td> + </tr> + {% endfor %} + </table> + +<!-- Operation's associated acts --> + + <table class='adm_acts'> <!-- associated acts class--> + <caption>{%trans "Admninistrative acts linked to associated operations"%}</caption> + <tr> + {% for label, in file.ope.data_acts %} + <th>{{label}}</th> + {% endfor %} + </tr> + {% for data, in file.ope.data_acts %} + <tr> + <td>{{year}}</td> + <td>{{reference}}</td> + <td>{{type}}</td> + <td>{{date}}</td> + </tr> + {% endfor %} + </table> + +{% endblock %} |