From e6bfbef4b98dff168812db52339b3e2cc37cc8d5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 27 Aug 2019 14:46:54 +0200 Subject: Callout for operation/site detail --- showcase/templates/showcase/item-find.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'showcase') diff --git a/showcase/templates/showcase/item-find.html b/showcase/templates/showcase/item-find.html index 6d67ac5..e3f0f43 100644 --- a/showcase/templates/showcase/item-find.html +++ b/showcase/templates/showcase/item-find.html @@ -4,7 +4,7 @@ {% block body_class %}template-showcase-item{% endblock %} {% block content %} -

{{page.title}}

+

{{page.title}}

{{current_number_1}} / {{total}}
@@ -46,39 +46,39 @@
{% endif %} -

{{data.denomination}}

+

{{data.denomination}}

-
+
{% if data.public_description %}
{{data.public_description|linebreaks}}
{% elif data.description %}
{{data.description|linebreaks}}
{% endif %} - {% if data.object_types %} + {% if data.object_types|length %}

{% trans "Object type:" %} {{data.object_types|join:" ; "}}

{% endif %} - {% if data.materials %} + {% if data.materials|length %}

{% trans "Materials:" %} {{data.materials|join:" ; "}}

{% endif %} - {% if data.datings %}

{% trans "Period(s):" %} + {% if data.datings|length %}

{% trans "Period(s):" %} {% for dating in data.datings %}{% if forloop.counter0 %} ; {% endif %}{{dating.period}}{% endfor %}

{% endif %}
-
+
{% with data.base_finds.0.context_record.site as site %} {% with data.base_finds.0.context_record.operation as operation %} -
{% trans "Archaeological site / Operation" %}
+

{% trans "Archaeological site / Operation" %}

{{site.name}} {% if site.discovery_date %}({{site.discovery_date}}){% endif %}
{{site.towns.0}}

{% if operation.year %}

{% trans "Year of the survey:" %} {{operation.year}}

{% endif %} {% if site.shipwreck_name %}

{% trans "Shipwreck" %} : {{site.shipwreck_name}} {% if site.sinking_date %} {% trans "sinking" %} {{site.sinking_date}}{% endif %}

{% endif %} - {% if site.periods %} + {% if site.periods|length %}

{% trans "Period(s):" %} {{site.periods|join:" ; "}}

{% endif %} - {% if site.remains %} + {% if site.remains|length %}

{% trans "Remain(s):" %} {{site.remains|join:" ; "}}

{% endif %} {% endwith %} -- cgit v1.2.3