From 1ec9e5bae266bb0faf7c0824fd1f3d7e1ca109cd Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 30 Nov 2017 11:53:20 +0100 Subject: UI - operation sheet: fix tables --- .../templates/ishtar/sheet_operation.html | 84 ++++++++++++---------- 1 file changed, 48 insertions(+), 36 deletions(-) (limited to 'archaeological_operations/templates') diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index c115e0966..0052dde7b 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -228,20 +228,24 @@
{% if item.nb_context_records_by_type %} - - -{% for label, nb in item.nb_context_records_by_type %} - -{% endfor %} -
{% trans "Type" %}{% trans "Number" %}
{{label}}{{nb}}
< +
+ + + {% for label, nb in item.nb_context_records_by_type %} + + {% endfor %} +
{% trans "Type" %}{% trans "Number" %}
{{label}}{{nb}}
+
{% endif %} {% if item.nb_context_records_by_periods %} - - -{% for label, nb in item.nb_context_records_by_periods %} - -{% endfor %} -
{% trans "Period" %}{% trans "Number" %}
{{label}}{{nb}}
+
+ + + {% for label, nb in item.nb_context_records_by_periods %} + + {% endfor %} +
{% trans "Period" %}{% trans "Number" %}
{{label}}{{nb}}
+
{% endif %}
@@ -251,28 +255,34 @@
{% if item.nb_finds_by_material_type %} - - -{% for label, nb in item.nb_finds_by_material_type %} - -{% endfor %} -
{% trans "Material type" %}{% trans "Number" %}
{{label}}{{nb}}
+
+ + + {% for label, nb in item.nb_finds_by_material_type %} + + {% endfor %} +
{% trans "Material type" %}{% trans "Number" %}
{{label}}{{nb}}
+
{% endif %} {% if item.nb_finds_by_types %} - - -{% for label, nb in item.nb_finds_by_types %} - -{% endfor %} -
{% trans "Object type" %}{% trans "Number" %}
{{label}}{{nb}}
+
+ + + {% for label, nb in item.nb_finds_by_types %} + + {% endfor %} +
{% trans "Object type" %}{% trans "Number" %}
{{label}}{{nb}}
+
{% endif %} {% if item.nb_finds_by_periods %} - - -{% for label, nb in item.nb_finds_by_periods %} - -{% endfor %} -
{% trans "Period" %}{% trans "Number" %}
{{label}}{{nb}}
+
+ + + {% for label, nb in item.nb_finds_by_periods %} + + {% endfor %} +
{% trans "Period" %}{% trans "Number" %}
{{label}}{{nb}}
+
{% endif %}
@@ -282,12 +292,14 @@
{% if item.nb_documents_by_types %} - - -{% for label, nb in item.nb_documents_by_types %} - -{% endfor %} -
{% trans "Type" %}{% trans "Number" %}
{{label}}{{nb}}
+
+ + + {% for label, nb in item.nb_documents_by_types %} + + {% endfor %} +
{% trans "Type" %}{% trans "Number" %}
{{label}}{{nb}}
+
{% endif %}
-- cgit v1.2.3