summaryrefslogtreecommitdiff
path: root/archaeological_context_records
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
commitf6fe204ef36dfbafae1603055824266f6ff82ea8 (patch)
tree72815e6669519a7e6ca704298e08e228b6357b94 /archaeological_context_records
parent5087bd017e15504b0d4cee6b2b40ce945e5a0929 (diff)
downloadIshtar-f6fe204ef36dfbafae1603055824266f6ff82ea8.tar.bz2
Ishtar-f6fe204ef36dfbafae1603055824266f6ff82ea8.zip
UI: work on sheet display
Diffstat (limited to 'archaeological_context_records')
-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>