summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/templates/ishtar')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html
index 718947e19..f87888655 100644
--- a/archaeological_operations/templates/ishtar/sheet_site.html
+++ b/archaeological_operations/templates/ishtar/sheet_site.html
@@ -25,9 +25,9 @@
{% if item.complete_identifier %}<p class="window-refs"
title="{% trans 'Complete identifier' %}">
<strong>{{ item.complete_identifier }}</strong></p>{% endif %}
- </div>
- <div class="col text-muted">
- {% include "ishtar/blocks/sheet_external_id.html" %}
+ <p class="col text-muted">
+ {% include "ishtar/blocks/sheet_external_id.html" %}
+ </p>
</div>
</div>
<p class="card-text">
@@ -51,8 +51,12 @@
{% field_flex_multiple_obj "Cultural attributions" item 'cultural_attributions' %}
{% field_flex_detail _("Discoverer") item.discoverer %}
{% field_flex_multiple "Collaborators" item.collaborators %}
+ {% if item.description == item.public_description %}
+ {% field_flex_full _("Description/Public description") item.description "<pre>" "</pre>" %}
+ {% else %}
{% field_flex_full _("Description") item.description "<pre>" "</pre>" %}
- {% field_flex_full _("Public description") item.description "<pre>" "</pre>" %}
+ {% field_flex_full _("Public description") item.public_description "<pre>" "</pre>" %}
+ {% endif %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
</div>
@@ -83,7 +87,7 @@
{% else %}
{% field_flex_detail_multiple_full "Towns" item.towns %}
{% endif %}
- {% field_flex_full _("Precise locality") item.precise_locality "<pre>" "</pre>" %}
+ {% field_flex_full _("Address") item.precise_locality "<pre>" "</pre>" %}
{% field_flex_full "National Geographic Institute locality" item.locality_ngi "<pre>" "</pre>" %}
{% field_flex_full "Cadastral locality" item.locality_cadastral "<pre>" "</pre>" %}
</div>