summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/sheet_basefind.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 16:19:59 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-01-11 16:19:59 +0100
commit2aa223c0cac8c445e9f3855db66524cfdeae9380 (patch)
tree8b9137dd9b68121db86e4e22dfdb7b7016a6f1ad /archaeological_finds/templates/ishtar/sheet_basefind.html
parent23697dd97eb201dd557272293227ec42a1c95a54 (diff)
parentdaeeeb175835559724c8520f4f5a8dcd5957a469 (diff)
downloadIshtar-2aa223c0cac8c445e9f3855db66524cfdeae9380.tar.bz2
Ishtar-2aa223c0cac8c445e9f3855db66524cfdeae9380.zip
Merge branch 'develop'
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_basefind.html')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_basefind.html14
1 files changed, 6 insertions, 8 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_basefind.html b/archaeological_finds/templates/ishtar/sheet_basefind.html
index c20ca66ee..7ea16fecb 100644
--- a/archaeological_finds/templates/ishtar/sheet_basefind.html
+++ b/archaeological_finds/templates/ishtar/sheet_basefind.html
@@ -1,6 +1,10 @@
{% load i18n window_field from_dict link_to_window window_tables window_header humanize %}
- <p class='window-refs text-center'>{{base_find.complete_id }}</p>
- <p class='window-refs text-center'>{{base_find.short_id }}</p>
+<div id="{{window_id}}-base-find-{{forloop.counter}}" role="tabpanel"
+ class="tab-pane fade{% if forloop.first %} show active{% endif %}">
+ <p class='window-refs text-center'>{{ base_find.complete_id }}</p>
+ {% if base_find.complete_id != base_find.short_id %}
+ <p class='window-refs text-center'>{{ base_find.short_id }}</p>
+ {% endif %}
{% if base_find.external_id %}
<p class='window-refs text-center external-id'>
<small title="{% trans 'Internal ID' %}">
@@ -77,11 +81,5 @@
{% endwith %}{% endwith %}
{% endif %}
</div>
-
-{% if first %}
- </div>
</div>
-<div class="subsection">
-{% endif %}
-{% if forloop.counter0 %}<hr/>{% endif %}