From fe1bb8dbe6d02d2379f89d410b3533a6d84209b2 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 27 Nov 2015 13:06:05 +0100 Subject: Sheets: fix dict presentation for historical records --- archaeological_operations/templates/ishtar/sheet_operation.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'archaeological_operations/templates/ishtar/sheet_operation.html') diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 9784b29df..545b1c143 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -58,7 +58,13 @@

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

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

+{% if item.QUALITY_DICT %} {% field "Record quality" item.record_quality|from_dict:item.QUALITY_DICT %} +{% endif %} +{% if item.history_object and item.history_object.QUALITY_DICT %} +{% field "Record quality" item.record_quality|from_dict:item.history_object.QUALITY_DICT %} +{% endif %} + {% if item.associated_file %}

{{ item.associated_file }}

-- cgit v1.2.3