{% if access_denied %}
	<div class="access_denied">
		<p class="access_denied_title">{{'You do not have permission to view this page'|trans}}</p>
	</div>
{% endif %}

{% if url_not_complete %}
	<div class="url_not_complete">
		<p class="url_not_complete_title">{{'The URL provided is not complete'|trans}}</p>
	</div>
{% endif %}

{% if no_location_selected %}
	<div class="no_location_selected">
		<p class="no_location_selected">{{'No location selected, this slot will be blank in visitor mode.'|trans}}</p>
	</div>
{% endif %}

{% if show_title %}
	<div class="location">
		<h1 class="main_title">{{'Location details:'|trans}} {{location.description|e}}</h1>
	</div>
{% endif %}

{% if show_details %}
	{% if show_image and location.image_url %}
		<img alt="Location image" src="{{location.image_url|e}}" width="{{location.image_width|e}}" height="{{location.image_height|e}}" />
	{% endif %}
	<div class="title">{{location.description|e}}</div>
	<div class="address_container">
		{% if show_address %}
			<div class="address_label">{{'Address:'|trans}}</div>
			{% if location.address1 %}
				<div class="address">{{location.address1|e}}</div>
			{% endif %}
			{% if location.address2 %}
				<div class="address">{{location.address2|e}}</div>
			{% endif %}
		{% endif %}
		{% if show_locality and location.locality %}
			<div class="address">{{location.locality|e}}</div>
		{% endif %}
		{% if show_city and location.city %}
			<div class="address">{{location.city|e}}</div>
		{% endif %}
		{% if show_state and location.state %}
			<div class="address">{{location.state|e}}</div>
		{% endif %}
		{% if show_postcode and location.postcode %}
			<div class="address">{{location.postcode|e}}</div>
		{% endif %}
		{% if show_country and location.country %}
			<div class="address">{{location.country|e}}</div>
		{% endif %}
		{% if show_region and location.region %}
			<div class="address">{{location.region|e}}</div>
		{% endif %}
	</div>

{% endif %}

{% if show_map %}
	<div class="map">
		<iframe
			id="map"
			style="width: {{map_width|e}}px; height: {{map_height|e}}px;"
			src="zenario/ajax.php?moduleClassName=zenario_google_map&method_call=showStandalonePage&lng={{location.longitude|e}}&lat={{location.latitude|e}}&zoom={{location.map_zoom|e}}&addMarkerAtCentre=true"
			allowfullscreen
		>
		</iframe>
	</div>
{% endif %}