summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/sheet_find.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-05 20:56:09 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-03-05 20:56:09 +0100
commite2f547ecc4cfa90bed80602bdb6f7957a54b2104 (patch)
treefd353a70e97b7e62662eb2c5fb61a838c13dbab6 /archaeological_finds/templates/ishtar/sheet_find.html
parentb1ab884191661f74fdd88498fdcc7872adada849 (diff)
downloadIshtar-e2f547ecc4cfa90bed80602bdb6f7957a54b2104.tar.bz2
Ishtar-e2f547ecc4cfa90bed80602bdb6f7957a54b2104.zip
Improve find card
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_find.html')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 5d2d58ac9..6b49a66b9 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -1,7 +1,7 @@
{% extends "ishtar/sheet.html" %}
{% load i18n window_field from_dict link_to_window window_tables window_header humanize %}
-{% block head_title %}<strong xmlns:h2="http://www.w3.org/1999/html">{% trans "Find" %}</strong> - {{item.label|default:""}}{% endblock %}
+{% block head_title %}<strong>{% trans "Find" %}</strong>{% if item.denomination %} - {{item.denomination|default:""}}{% endif %} - {{item.label|default:""}}{% endblock %}
{% block toolbar %}
{% window_nav item window_id 'show-find' 'find_modify' 'show-historized-find' 'revert-find' previous next 1 %}
@@ -15,8 +15,8 @@
{% include "ishtar/blocks/window_image.html" %}
<div class="card-body">
<p class="card-text">
+ <p class="window-refs" title="{% trans 'Denomination' %}">{{ item.denomination|default:"" }}</p>
<p class="window-refs" title="{% trans 'Free ID' %}">{{ item.label|default:"" }}</p>
- <p class="window-refs" title="{% trans 'Label' %}">{{ item.denomination|default:"" }}</p>
<p class='window-refs' title="{% trans 'Base find - Complete ID' %}">{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} &ndash; {% endif %}{{base_find.complete_id}}{% endfor %}</p>
<p class='window-refs' title="{% trans 'Base find - Short ID' %}">{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} &ndash; {% endif %}{{base_find.short_id}}{% endfor %}</p>
<p class="window-refs" title="{% trans 'Find - Administrative ID' %}">{{ item.administrative_index|default:"" }}</p>
@@ -36,6 +36,7 @@
<h3>{% trans "Identification" %}</h3>
<div class='row'>
+ {% field_flex "Denomination" item.denomination %}
{% field_flex "Free ID" item.label %}
{% field_flex "Previous ID" item.previous_id %}
{% field_flex "Excavation ID" item.excavation_ids %}