From 3e08770a223f80409e278b9b9fcf9ec4cbe98966 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 30 Apr 2018 16:05:03 +0200 Subject: Display relation images on the sheet. --- .../templates/ishtar/sheet_contextrecord.html | 9 +++++++++ 1 file changed, 9 insertions(+) (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 2dd58d49c..dd0579271 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -79,6 +79,15 @@ {% trans "Context record relations" as cr_rels %} {% if item.right_relations.count %} {% dynamic_table_document cr_rels 'context_records_relations' 'left_record_id' item.pk '' output %} + +{% if item.relation_image %} +
+ {% if output != "ODT" %}{% endif %} + + {% if output != "ODT" %}{% endif %} +
+
+{% endif %} {% endif %} -- cgit v1.2.3