summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-05 18:30:24 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-09-05 18:31:52 +0200
commitf751e22887e8940d0e3ed3c81eee0fb92e8d7820 (patch)
tree54a97773eef1b633895480a8b8caeb768bf7b43a /archaeological_context_records/templates
parent10c8a694f2ffcfc001f5deddcb7d633d9f00b7cc (diff)
downloadIshtar-f751e22887e8940d0e3ed3c81eee0fb92e8d7820.tar.bz2
Ishtar-f751e22887e8940d0e3ed3c81eee0fb92e8d7820.zip
Add images for operation, context records and sources (refs #2927, refs #351)
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index 91054a87b..493a00f1b 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -5,6 +5,11 @@
{% block content %}
{% window_nav item window_id 'show-contextrecord' 'record_modify' 'show-historized-contextrecord' 'revert-contextrecord' previous next %}
+
+{% if item.image %}
+<a href='{{item.image.url}}' rel="prettyPhoto" title="{{item.label}}" class='photo'><img src='{{item.thumbnail.url}}'/></a>
+{% endif%}
+
{% if item.operation.code_patriarche %}
<p><label>{%trans "Complete ID:"%}</label>
{% else %}