summaryrefslogtreecommitdiff
path: root/archaeological_warehouse
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-07 13:34:38 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-06-07 15:45:15 +0200
commitd55a5ec58047dc53118dce1d3aecbeb398cf57de (patch)
treed940054e928f217004cb4694027c3b4ff44fcb29 /archaeological_warehouse
parent5f6514859cc06841d7bfb0919f98b72168eeade9 (diff)
downloadIshtar-d55a5ec58047dc53118dce1d3aecbeb398cf57de.tar.bz2
Ishtar-d55a5ec58047dc53118dce1d3aecbeb398cf57de.zip
🐛 Sheet: add missing fields, improve layout (refs #5863, #5864, #5865, #5866, #5867, #5868, #5869, #5870, #5871, #5872)
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_warehouse.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
index ab22d10e4..2f953478e 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
@@ -111,8 +111,8 @@
</div>
{% include "ishtar/blocks/sheet_json.html" %}
- {% if item.get_address or item.get_address_complement or item.get_postal_code or item.get_town %}
- <h3>{% trans "Geographic localisation" %}</h3>
+ {% if item.get_address or item.get_address_complement or item.get_postal_code or item.get_town or item.phone or item.mobile_phone %}
+ <h3>{% trans "Geographic localisation/contact details" %}</h3>
{% if PROFILE.locate_warehouses and SHOW_GEO %}
<div class='row'>
{% with geo_item=item %}
@@ -122,6 +122,8 @@
{% endif %}
<div class="row">
{% with full=True %}{% include "ishtar/blocks/sheet_address_section.html" %}{% endwith %}
+ {% field_flex _("Phone") item.phone %}
+ {% field_flex _("Mobile phone") item.mobile_phone %}
</div>
{% endif %}
</div>