diff options
| 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 |
| commit | e19ff9b6377d8f9c3ae00c6e489d8f106ee53049 (patch) | |
| tree | 6dc9fdcf551160909aa62793818136bd98fba7b0 /archaeological_finds/templates | |
| parent | b8f29fd173824cf335046cf3602c3fd2650522be (diff) | |
| download | Ishtar-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.html | 9 |
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 %} – {% endif %}{{base_find.complete_id}}{% endfor %}</p> +<p class='window-refs'>{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} – {% 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 %} |
