| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  | {% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_footer_rtl, icon %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {{ result_header(result, favicons, image_proxify) -}} | 
					
						
							|  |  |  | {{- result_sub_header(result) -}} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {%- if (result.latitude and result.longitude) or result.boundingbox -%} | 
					
						
							|  |  |  |     <small> • <a class="btn-collapse collapsed searx_init_map hide_if_nojs" data-target="#result-map-{{ index }}" data-btn-text-collapsed="{{ _('show map') }}" data-btn-text-not-collapsed="{{ _('hide map') }}" data-leaflet-target="osm-map-{{ index }}" data-map-lon="{{ result.longitude }}" data-map-lat="{{ result.latitude }}" {% if result.boundingbox %}data-map-boundingbox='{{ result.boundingbox|tojson|safe }}'{% endif %} {% if result.geojson %}data-map-geojson='{{ result.geojson|tojson|safe }}'{% endif %}>{{ icon( 'globe') }} {{ _('show map') }}</a></small> | 
					
						
							|  |  |  | {%- endif -%} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {%- if result.osm and (result.osm.type and result.osm.id) -%} | 
					
						
							|  |  |  |     <small> • <a class="btn-collapse collapsed hide_if_nojs searx_overpass_request" data-target="#result-overpass-{{ index }}" data-btn-text-collapsed="{{ _('show details') }}" data-btn-text-not-collapsed="{{ _('hide details') }}" data-osm-type="{{ result.osm.type }}" data-osm-id="{{ result.osm.id }}" data-result-table="result-overpass-table-{{ index }}" data-result-table-loadicon="result-overpass-table-loading-{{ index }}">{{ icon('location') }} {{ _('show details') }}</a></small> | 
					
						
							|  |  |  | {%- endif -%} | 
					
						
							|  |  |  | {#- | 
					
						
							|  |  |  | {% if (result.latitude and result.longitude) %} | 
					
						
							|  |  |  |     <small> • <a class="btn-collapse disabled_if_nojs" data-target="#result-geodata-{{ index }}" data-btn-text-collapsed="{{ _('show geodata') }}" data-btn-text-not-collapsed="{{ _('hide geodata') }}">{{ icon('location') }} {{ _('show geodata') }}</a></small> | 
					
						
							|  |  |  | {% endif %} | 
					
						
							|  |  |  | -#} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {%- if result.address -%} | 
					
						
							|  |  |  | <p itemscope itemtype="http://schema.org/PostalAddress" class="content"> | 
					
						
							|  |  |  |     {%- if result.address.name -%} | 
					
						
							|  |  |  |         <strong itemprop="name">{{ result.address.name }}</strong><br/> | 
					
						
							|  |  |  |     {%- endif -%} | 
					
						
							|  |  |  |     {% if result.address.road -%} | 
					
						
							|  |  |  |         <span itemprop="streetAddress"> | 
					
						
							| 
									
										
										
										
											2018-08-09 16:13:50 +02:00
										 |  |  |             {%- if result.address.house_number -%}{{- result.address.house_number -}}, {% endif %} | 
					
						
							|  |  |  |             {{- result.address.road -}} | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |         </span><br/> | 
					
						
							|  |  |  |     {%- endif %} | 
					
						
							|  |  |  |     {%- if result.address.locality -%} | 
					
						
							| 
									
										
										
										
											2018-08-09 16:13:50 +02:00
										 |  |  |         <span itemprop="addressLocality">{{- result.address.locality -}}</span> | 
					
						
							|  |  |  |         {%- if result.address.postcode -%}, <span itemprop="postalCode">{{- result.address.postcode -}}</span>{% endif %} | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |         <br/> | 
					
						
							|  |  |  |     {%- endif -%} | 
					
						
							|  |  |  |     {%- if result.address.country -%} | 
					
						
							| 
									
										
										
										
											2018-08-09 16:13:50 +02:00
										 |  |  |         <span itemprop="addressCountry">{{- result.address.country -}}</span> | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |     {%- endif -%} | 
					
						
							|  |  |  | </p> | 
					
						
							|  |  |  | {%- endif -%} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {%- if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif -%} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {{- result_sub_footer(result, proxify) -}} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% if result.osm and (result.osm.type and result.osm.id) -%} | 
					
						
							|  |  |  |     <div class="result-content invisible" id="result-overpass-{{ index }}"{% if rtl %} dir="ltr"{% endif %}> | 
					
						
							| 
									
										
										
										
											2018-08-09 16:13:50 +02:00
										 |  |  |         <div id="result-overpass-table-loading-{{ index }}"><div class="loader">{{ _('Loading...') }}</div></div> | 
					
						
							| 
									
										
										
										
											2017-02-12 15:06:01 +01:00
										 |  |  |         <table id="result-overpass-table-{{ index }}"> | 
					
						
							|  |  |  |           <tbody> | 
					
						
							|  |  |  |           </tbody> | 
					
						
							|  |  |  |         </table> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | {%- endif %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {#- | 
					
						
							|  |  |  | {% if (result.latitude and result.longitude) -%} | 
					
						
							|  |  |  |     <div id="result-geodata-{{ index }}" class="invisible"> | 
					
						
							|  |  |  |         <strong>Longitude:</strong> {{ result.longitude }} <br/> | 
					
						
							|  |  |  |         <strong>Latitude:</strong> {{ result.latitude }} | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | {%- endif %} | 
					
						
							|  |  |  | -#} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% if (result.latitude and result.longitude) or result.boundingbox -%} | 
					
						
							|  |  |  |     <div id="result-map-{{ index }}" class="invisible"><div id="osm-map-{{ index }}" style="height:300px; width:100%; margin: 10px 0;" ></div></div> | 
					
						
							|  |  |  | {%- endif %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {{- result_footer(result) }} |