From 21c052fa05d9904bc38b34dab15a1ba2d267db88 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 16 Jul 2013 23:44:36 +0000 Subject: Fix material type display on sheets --- .../templates/ishtar/sheet_contextrecord.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_context_records') diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 7fd004362..ed4dc3c2f 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -118,11 +118,11 @@ {{ 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.material|default:"" }} + {{ find.get_last_find.material_type|default:"" }} {{find.context_record.label}} {{ find.get_last_find.dating}}{# TODO .all|join:", " ? #} {{ find.get_last_find.description }} - {{ find.get_last_find.weight }} + {{ find.get_last_find.weight|default:"" }} {{ find.get_last_find.item_number }} {{ item.context_record.parcel.short_label }} {% trans "Details" %} -- cgit v1.2.3