summaryrefslogtreecommitdiff
path: root/archaeological_files
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-12 10:49:18 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-12 10:49:18 +0200
commita859b91583f53eae8f34f67f554acff9abd893a2 (patch)
treedeeee43127d9b782684a31cb4ee8d94aac124078 /archaeological_files
parentce18a4f6c6cfbdb83caf0a77c9989a34a6e65f16 (diff)
downloadIshtar-a859b91583f53eae8f34f67f554acff9abd893a2.tar.bz2
Ishtar-a859b91583f53eae8f34f67f554acff9abd893a2.zip
🩹 minor fix on sheets (refs #5865, #4808, #5867)
Diffstat (limited to 'archaeological_files')
-rw-r--r--archaeological_files/templates/ishtar/sheet_file.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html
index e0f6c9d2d..7e98234c5 100644
--- a/archaeological_files/templates/ishtar/sheet_file.html
+++ b/archaeological_files/templates/ishtar/sheet_file.html
@@ -94,9 +94,9 @@
{% field_flex "Complement" item.address_complement %}
{% field_flex "Postal code" item.postal_code %}
{% if item.total_surface %}
- <div class="col-12 col-md-6 col-lg-4 d-flex flex-wrap row">
- <dt class="col-5">{%trans "Surface"%}</dt>
- <dd class='col-7'>
+ <div class="col-12 col-md-6 col-lg-3 flex-wrap">
+ <dt>{% trans "Surface" %}</dt>
+ <dd>
{{ item.total_surface }} m<sup>2</sup> ({{ item.total_surface_ha }} ha)
</dd>
</div>
@@ -109,10 +109,10 @@
<div class="row">
{% if item.total_developed_surface %}
- <div class="col-12 col-md-6 col-lg-4 d-flex flex-wrap row">
- <dt class="col-5">{%trans "Developed surface"%}</dt>
- <dd class='col-7'>
- {{ item.total_developed_surface }} m<sup>2</sup> ({{ item.total_developed_surface_ha }} ha)</span></li>
+ <div class="col-12 col-md-6 col-lg-3 flex-wrap">
+ <dt>{%trans "Developed surface"%}</dt>
+ <dd>
+ {{ item.total_developed_surface }} m<sup>2</sup> ({{ item.total_developed_surface_ha }} ha)
</dd>
</div>
{% endif %}
@@ -258,20 +258,20 @@
</div>
<div class="row">
{% if item.total_developed_surface %}
- <dl class="col-12 col-lg-6 flex-wrap">
- <dt>{%trans "Total developed surface"%}</dt>
+ <div class="col-12 col-md-6 col-lg-3 flex-wrap">
+ <dt>{% trans "Total developed surface"%}</dt>
<dd>
{{ item.total_developed_surface }} m<sup>2</sup> ({{ item.total_developed_surface_ha }} ha)
</dd>
- </dl>
+ </div>
{% endif %}
{% if item.total_surface %}
- <dl class="col-12 col-lg-6 flex-wrap">
- <dt>{% trans "Surface" %}</dt>
+ <div class="col-12 col-md-6 col-lg-3 flex-wrap">
+ <dt>{% trans "Surface"%}</dt>
<dd>
{{ item.total_surface }} m<sup>2</sup> ({{ item.total_surface_ha }} ha)
</dd>
- </dl>
+ </div>
{% endif %}
</div>
<h3>{% trans "Human and technical requirements" %}</h3>