diff options
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 |
commit | 7fb1ff25e2491e94c3446a401e644de9793006f5 (patch) | |
tree | 54a97773eef1b633895480a8b8caeb768bf7b43a /archaeological_context_records/templates | |
parent | d3d84ed7cc5ff3cb9c164838c78cfcee73fbc44e (diff) | |
download | Ishtar-7fb1ff25e2491e94c3446a401e644de9793006f5.tar.bz2 Ishtar-7fb1ff25e2491e94c3446a401e644de9793006f5.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.html | 5 |
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 %} |