mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
fix: hide map on detail pages when no location set
This commit is contained in:
@@ -58,7 +58,10 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<div id="map" style="height: 800px; width: 100%"></div>
|
||||
{% if organisation.current_answers.location_set %}
|
||||
<div id="map" style="height: 800px; width: 100%"></div>
|
||||
<hr>
|
||||
{% endif %}
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
@@ -79,9 +79,10 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<div id="map" style="height: 800px; width: 100%"></div>
|
||||
|
||||
<hr>
|
||||
{% if person.current_answers.location_set %}
|
||||
<div id="map" style="height: 800px; width: 100%"></div>
|
||||
<hr>
|
||||
{% endif %}
|
||||
|
||||
{% include 'people/person/includes/relationships_full.html' %}
|
||||
|
||||
|
||||
@@ -55,7 +55,9 @@
|
||||
|
||||
<hr>
|
||||
|
||||
<div id="map" style="height: 800px; width: 100%"></div>
|
||||
{% if person.current_answers.location_set %}
|
||||
<div id="map" style="height: 800px; width: 100%"></div>
|
||||
<hr>
|
||||
{% endif %}
|
||||
|
||||
<hr>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user