summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-17 18:12:36 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-01-17 18:12:36 +0100
commit286944a0ad4682c1a2377ec4d010538233674ff6 (patch)
tree72815e6669519a7e6ca704298e08e228b6357b94 /archaeological_context_records/templates
parent58ea31bc73798cc7aec57f5236075066193e312e (diff)
downloadIshtar-286944a0ad4682c1a2377ec4d010538233674ff6.tar.bz2
Ishtar-286944a0ad4682c1a2377ec4d010538233674ff6.zip
UI: work on sheet display
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index e1ea9019b..93a9b67d2 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -1,10 +1,13 @@
{% extends "ishtar/sheet.html" %}
-{% load i18n window_field window_header window_tables %}
+{% load i18n window_field window_header window_tables window_field %}
-{% block head_title %}{% trans "Context Record" %}{% endblock %}
+{% block head_title %}{% trans "Context Record:" %}{{item.full_label}}{% endblock %}
-{% block content %}
+{% block toolbar %}
{% window_nav item window_id 'show-contextrecord' 'record_modify' 'show-historized-contextrecord' 'revert-contextrecord' previous next 1 %}
+{% endblock %}
+
+{% block content %}
{% if item.image %}
<a href='{{item.image.url}}' rel="prettyPhoto" title="{{item.label}}" class='photo'><img src='{{item.thumbnail.url}}'/></a>