From 4584dcbfcf82a3680b430f72e1f533f1160cf8f3 Mon Sep 17 00:00:00 2001 From: Le Jeune Yann Date: Tue, 19 Apr 2011 18:19:49 +0200 Subject: A proto sheet for Contexte unit --- ishtar/templates/sheet_context_proto.html | 115 ++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 ishtar/templates/sheet_context_proto.html (limited to 'ishtar/templates/sheet_context_proto.html') diff --git a/ishtar/templates/sheet_context_proto.html b/ishtar/templates/sheet_context_proto.html new file mode 100644 index 000000000..365a766b5 --- /dev/null +++ b/ishtar/templates/sheet_context_proto.html @@ -0,0 +1,115 @@ +{% extends "sheet.html" %} +{% load i18n %} +{% block content %} +
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}
+ +

{% trans "Context Unit"%}

+ +{% if item.operation.patriarche_code %}

{{ item.operation.complete_label }}

{%endif%} +{% if item.operation.patriarche_code_not_recorded %}

+

{{ item.operation.temporary_label }} +{%endif%} +

{{ item.unit_type }}

+

{{ item.period.all|join:", " }}

+

{{ item.place }}

+

{{ item.section_and_parcel }}

+ +

{% trans "Description"%}

+ +

{{ item.description }}

+{% if item.lenght %}

{{ item.length }}

{%endif%} +{% if item.width %}

{{ item.width }}

{%endif%} +{% if item.depth %}

{{ item.depth }}

{%endif%} + +

{% trans "Interpretation"%}

+ +{% if item.activity %}

{{ item.activity }}

{%endif%} +{% if item.identification %}

{{ item.identification }}

{%endif%} +{% if item.interpretation %}

{{ item.interpretation }}

{%endif%} + +{% if item.TAQ or item.TAQ_estimated or item.TPQ or item.TPQ_estimated %} +

{% trans "Datations"%}

+{% if item.TAQ %}

{{ item.TAQ }}

{%endif%} +{% if item.TAQ_estimated %}

{{ item.TAQ_estimated }}

{%endif%} +{% if item.TPQ %}

{{ item.TPQ }}

{%endif%} +{% if item.TPQ_estimated %}

{{ item.TPQ_estimated }}

{%endif%} +{%endif%} + +{% if item.related_operation %} +

{% trans "Operation resume"%}

+

{{ item.operation.year }}

+

{{ item.operation.numeric_reference }}

+{% if item.operation.patriarche_code %}

{{ item.operation.patriarche_code }}

{%endif%} +{% if item.operation.patriarche_code_not_recorded %}

{%endif%} +

{{ item.operation.internal_reference }}

+

{{ item.operation.head_scientist.full_label }}

+

{% if item.operation.is_active %}{%trans "Active file"%}

+{% else %}{%trans "Closed operation"%}

+

{{ item.operation.closing.date }} {%trans "by" %} {{ item.operation.closing.user }}

+{% endif %} +

{{ item.operation.operation_type }}

+

{{ item.operation.remains.all|join:", " }}

+

{{ item.operation.periods.all|join:", " }}

+{% if item.operation.comment %}

{{ item.operation.comment }}

{%endif%} +

{% trans "Localisation"%}

+

{{ item.operation.towns.all|join:", " }}

+

{{ item.related_operation }}

+{% else %}

+{% endif %} + +

{% trans "Documentation"%}

+ + + + + + + + + {% for doc in item.operation.doc.all %} + + + + + + + {% empty %} + + {% endfor %} +
{%trans "Documents"%}
{% trans "Title" %}{% trans "Type" %}{% trans "Authors" %}{% trans "Localisation" %}
{{ doc.title }}{{doc.type}}{{ doc.author.all|join:", " }}{{ doc.localisation }}
{% trans "No document associated to this context unit" %}
+ +

{% trans "Finds"%}

+ + + + + + + + + + + + + + {% for find in item.find.all %} + + {% if item.operation.patriarche_code %}{%endif%} + {% if item.operation.patriarche_code_not_recorded %}{%endif%} + {% if item.operation.patriarche_code %}{%endif%} + {% if item.operation.patriarche_code_not_recorded %}{%endif%} + + + + + + + + + + {% empty %} + + {% endfor %} +
{%trans "Finds"%}
{% trans "Find_complete_Label" %}{% trans "Find_complete_material_type_Label" %}{% trans "Context_record" %}{% trans "Periods" %}{% trans "Description" %}{% trans "Weight" %}{% trans "Numbers" %}{% trans "Parcel" %} 
{% trans "item.find.complete_label" %}{% trans "item.find.not_patriarche_complete_label" %}{% trans "item.find.material_type_complete_label" %}{% trans "item.find.material_type_not_patriarche_complete_label" %}{{item.find.context_record}}{{ item.find.period.all|join:", " }}{{ item.find.description }}{{ item.find.weight }}{{ item.find.numbers }}{{ item.find.record_unit.section_and_parcel }}
{% trans "No find associated to this operation" %}
+ +{% endblock %} -- cgit v1.2.3