summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-22 10:59:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-22 11:00:46 +0200
commite19ff9b6377d8f9c3ae00c6e489d8f106ee53049 (patch)
tree6dc9fdcf551160909aa62793818136bd98fba7b0 /archaeological_finds/templates
parentb8f29fd173824cf335046cf3602c3fd2650522be (diff)
downloadIshtar-e19ff9b6377d8f9c3ae00c6e489d8f106ee53049.tar.bz2
Ishtar-e19ff9b6377d8f9c3ae00c6e489d8f106ee53049.zip
Sheets: highlight main references
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 0cc1616b2..00470906d 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -10,8 +10,15 @@
<a href='{{item.image.url}}' rel="prettyPhoto" title="{{item.label}}" class='photo'><img src='{{item.thumbnail.url}}'/></a>
{% endif%}
+<p class="window-refs">{{ item.label|default:"" }}</p>
+<p class='window-refs'>{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} &ndash; {% endif %}{{base_find.complete_id}}{% endfor %}</p>
+<p class='window-refs'>{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} &ndash; {% endif %}{{base_find.short_id}}{% endfor %}</p>
+<p class="window-refs">{{ item.administrative_index|default:"" }}</p>
+<p class="window-refs">{{ item.contextrecord|default:"" }}</p>
+
+
+
<ul class='form-flex'>
-{% field_li "Free-ID" item.label %}
{% field_li "Previous ID" item.previous_id %}
{% with item.history_creation_date|date:"SHORT_DATETIME_FORMAT" as creation_date %}
{% with item.history_creator.ishtaruser.full_label|add:"<br/><i>"|add:creation_date|add:"</i>" as creator %}