From 29601ea7460e8489426d36fe734bdd81bed11bcc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 17 Jul 2013 01:16:33 +0200 Subject: Better display of finds in sheets --- .../templates/ishtar/sheet_contextrecord.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (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 d8e06f022..7fd004362 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -100,8 +100,9 @@ {%trans "Finds"%} {% trans "Find" %} + {% trans "Id by material type" %} {% trans "Material type" %} - {% trans "Context record" %} + {% trans "Context record" context "short"%} {% trans "Periods" %} {% trans "Description" %} {% trans "Weight" %} @@ -111,14 +112,14 @@ {% for find in item.base_finds.all %} - {{ find.full_label }} + {{ find.full_label }} {# Displayed as (Patriarche operation code)-(Record unit label)-(Finds label). #} {# or displayed as (Year)-(index)-(Record unit label)-(Finds label). #} - {{ find.material_type_label }} + {{ find.material_type_label }} {# Displayed as (Patriarche operation code)-(Record unit label)-(material code)-(Finds label indexed by material type). #} {# or displayed as (Year)-(index)-(Record unit label)-(material code)-(Finds label indexed by material type) #} - - {{find.context_record}} + {{ find.material|default:"" }} + {{find.context_record.label}} {{ find.get_last_find.dating}}{# TODO .all|join:", " ? #} {{ find.get_last_find.description }} {{ find.get_last_find.weight }} -- cgit v1.2.3