From f82f50f4b1a8945ae289d70ca8d8a183a960db0a Mon Sep 17 00:00:00 2001 From: Le Jeune Yann Date: Wed, 2 Feb 2011 18:47:16 +0100 Subject: File sheet proto template --- ishtar/templates/wizard_file_sheet.html | 120 ++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 ishtar/templates/wizard_file_sheet.html 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 %} + +

{%trans "File description sheet"%}

+

{%trans "Year"%} : {% file.year %}

+

{%trans "Numerical reference"%} : {% file.index %}

+ +

{%trans "File's name"%} : {% file.internal_ref %}

+ +

{%trans "Edition date"%} : {% date %}

+

{%trans "Reception date"%} : {% file.recept_date %}

+

{%trans "Creation date"%} : {% file.crea_date %}

+{% if file.deadline_date and not file.acts %} +

{%trans "Deadline"%} : {% file.deadline_date %}

+{% endif %} + +

{%trans "Responsible"%} : {% file.responsible %}

+ +{% if file.is_active %} +

{%trans "Active file"%}

+{% endif %} +{% if file.is_inactive %} +

{%trans "Closed file"%}

+

{%trans "Closure date" %} : {% file.closure_date %} {%trans "by" %} {% file.closer_user%}

+{% endif %} + +

{%trans "Type"%} : {% file.type %}

+ +{% if file.related %}

{%trans "Related file"%} : {% file.related %}

{% endif %} + + +

{%trans "Communes"%} : {% file.communes %}

+ +

{%trans "Principal adress"%} : {% file.princ_adress %}

+

{%trans "Complementary adress"%} : {% file.complem_adress %}

+

{%trans "Postal code"%} : {% file.postal_code %}

+ + + +

{%trans "Surface"%} : {% file.surface %} ({% file.surface_ha %) ha)

+ + + + +{% if file.is_preventive %} +

{%trans "Planed surface"%} : {% file.planed_surface %} ({% file.planed_surface_ha %) ha)

+

{%trans "Saisine type"%} : {% file.saisine_type %}

+ {% if file.service %}

{%trans "Service"%} : {% file.service %}

{% endif %} + {% if file.permit_type %}

{%trans "Permit type"%} : {% file.permit_type %}

{% endif %} + {% if file.permit_ref %}

{%trans "Permit reference"%} : {% file.permit_ref %}

{% endif %} + {% if file.contractor_org %}

{%trans "Contractor organisation"%} : {% file.contractor_org %}

{% endif %} + {% if file.contractor %}

{%trans "Contractor"%} : {% file.contractor %}

{% endif %} +

{%trans "Numerical reference"%} : {% file.index %}

+{% endif %} + +

{%trans "Comments"%} : {% file.comments %}

+ + + + + + + {% for label, in file.data_acts %} + + {% endfor %} + + {% for data, in file.data_acts %} + + + + + + + {% endfor %} +
{%trans "Admninistrative acts"%}
{{label}}
{{year}}{{reference}}{{type}}{{date}}
+ + + + + + + {% for label, in file.data_ope %} + + {% endfor %} + + {% for data, in file.data_ope %} + + + + + + + + + + + {% endfor %} +
{%trans "Associated operations"%}
{{label}}
{{year}}{{reference}}{{patriarche}}{{type}}{{head_scientist}}{{date_debut}}{{date_fin}}{{link_to_ope_sheet}}
+ + + + + + + {% for label, in file.ope.data_acts %} + + {% endfor %} + + {% for data, in file.ope.data_acts %} + + + + + + + {% endfor %} +
{%trans "Admninistrative acts linked to associated operations"%}
{{label}}
{{year}}{{reference}}{{type}}{{date}}
+ +{% endblock %} -- cgit v1.2.3