From 9df94fa062e738356070226965e21dfd90a4a3d0 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 --- archaeological_operations/templates/ishtar/sheet_operation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 1e43c7112..8b8207263 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -162,11 +162,11 @@ {# 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|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 }} {{ context_record.parcel.short_label }} {% trans "Details" %} -- cgit v1.2.3