From e76c7fe40248300204f44417653b39ab9bc9d4a1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 29 Jan 2015 02:14:03 +0100 Subject: Add new fields to context record, find sheets. --- .../templates/ishtar/sheet_contextrecord.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'archaeological_context_records/templates') diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 308c20289..1a18f1cd5 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -64,6 +64,33 @@ {% if item.tpq_estimated %}

{{ item.tpq_estimated }}

{%endif%} {%endif%} +{% if item.right_relations.count %} +

{% trans "In relation with"%}

+ + + + + + + + + + + {% for relation in item.right_relations.all %} + + + + + {# periods ?#} + + + + + {% endfor %} +
{% trans "Relation type" %}{% trans "ID" %}{% trans "Type" %}{% trans "Chronology" %}{% trans "Description" %}{% trans "Parcel" %} 
{{ relation.relation_type }}{{ relation.right_record.label }}{{relation.right_record.unit|default:""}}{{ relation.right_record.datings.all|join:", " }}{{ relation.right_record.description }}{{ relation.right_record.parcel.section }} - {{relation.right_record.parcel.parcel_number}}
+ +{% endif %} + {% if item.operation %}

{% trans "Operation resume"%}

{{ item.operation.year }}

-- cgit v1.2.3