summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates/ishtar/sheet_container.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_warehouse/templates/ishtar/sheet_container.html')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_container.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_container.html b/archaeological_warehouse/templates/ishtar/sheet_container.html
index a8e2ab13e..c34e5de7c 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_container.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_container.html
@@ -2,7 +2,7 @@
{% load i18n l10n ishtar_helpers window_header window_field window_tables link_to_window %}
{% block head_title %}<strong>{% trans "Container" %}</strong> -
-{{ item.reference|default:"" }} ({{ item.container_type|default:"" }}) - {{item.location}}
+{{ item.reference|default:"" }}{% if item.container_type %} ({{ item.container_type|default:"" }}){% endif %}{% if item.location %} - {{item.location}}{% endif %}
{% endblock %}
{% block toolbar %}
@@ -173,11 +173,13 @@
{% endif %}
{% if not is_external %}
+ {% if item.history_creator or item.last_edition_date or item.created %}
<h3>{% trans "Sheet"%}</h3>
<div class="row">
{% include "ishtar/blocks/sheet_creation_section.html" %}
</div>
{% endif %}
+ {% endif %}
</div>
<div class="tab-pane fade" id="{{window_id}}-content"