summaryrefslogtreecommitdiff
path: root/archaeological_warehouse/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-27 17:20:43 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-27 17:20:43 +0200
commit3d766fae8dd27b097eadd66993a091aa32af1aec (patch)
tree9201a1616398d4145fe3836821c3ccca788d817d /archaeological_warehouse/templates
parent7186a3adae39105729e31d0c7b594fcbcbdfd091 (diff)
downloadIshtar-3d766fae8dd27b097eadd66993a091aa32af1aec.tar.bz2
Ishtar-3d766fae8dd27b097eadd66993a091aa32af1aec.zip
Warehouse: link warehouse to an organization - manage address dependencies
Diffstat (limited to 'archaeological_warehouse/templates')
-rw-r--r--archaeological_warehouse/templates/ishtar/sheet_warehouse.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
index 2d22df0fc..30d48d6bd 100644
--- a/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
+++ b/archaeological_warehouse/templates/ishtar/sheet_warehouse.html
@@ -29,15 +29,16 @@
<div class='row'>
- {% field_flex "Person in charge" item.person_in_charge %}
{% include "ishtar/blocks/sheet_creation_section.html" %}
+ {% field_flex_detail "Person in charge" item.person_in_charge %}
+ {% field_flex_detail "Organization" item.organization %}
{% field_flex "Divisions" item.location_types|join:", " %}
{% field_flex_full "Comment" item.comment "<pre>" "</pre>" %}
{% include "ishtar/blocks/sheet_json.html" %}
</div>
-{% if item.point_2d or item.multi_polygon or item.address or item.address_complement or item.postal_code or item.town %}
+{% if item.point_2d or item.multi_polygon or item.get_address or item.get_address_complement or item.get_postal_code or item.get_town %}
<h3>{% trans "Localisation"%}</h3>
<div class='row'>
{% with geo_item=item %}