33{% load static %}
44{% load leaflet_tags %}
55{% load utils %}
6+ {% load l10n %}
67
78{% block title %}{{event.name}} - {{ block.super }}{% endblock %}
89
@@ -175,26 +176,29 @@ <h1 class="title section-title dyn-anchor-heading">
175176 </ div >
176177 {% else %}
177178 < div class ="map-wrapper ">
178- {% leaflet_map "event-map" %}
179- < a class ="link-open-map " href ="https://www.openstreetmap.org/?mlat={{ event.venue.latitude }}&mlon={{ event.venue.longitude }}#map=16/{{ event.venue.latitude }}/{{ event.venue.longitude }} " target ="_blank "> Ver mapa más grande</ a >
179+ {% localize off %}
180+ {% leaflet_map "event-map" %}
181+ < a class ="link-open-map " href ="https://www.openstreetmap.org/?mlat={{ event.venue.latitude }}&mlon={{ event.venue.longitude }}#map=16/{{ event.venue.latitude }}/{{ event.venue.longitude }} " target ="_blank "> Ver mapa más grande</ a >
182+ {% endlocalize %}
180183 </ div >
181184 {% endif %}
182185 </ div >
183186 < div class ="column is-12-tablet is-6-desktop ">
184187 < strong class ="venue-name ">
185188 {% if event.venue.website %}
186- < a href ="{{ event.venue.website }} "> < i class ="fas fa-map-marker-alt "> </ i > {{ event.venue.name }}</ a >
189+ < a href ="{{ event.venue.website }} "> < i class ="fas fa-info-circle "> </ i > {{ event.venue.name }}</ a >
187190 {% else %}
188191 < i class ="fas fa-map-marker-alt "> </ i > {{ event.venue.name }}
189192 {% endif %}
190193 </ strong >
191194 {% if not event.venue.is_online %}
192195 < address >
193196 < a class ="venue-address ">
194- < a href ="https://maps.google.com/maps?q={{ event.venue.latitude }},{{ event.venue.longitude }} ">
195- {{ event.venue.address }}
196- < i class ="fas fa-external-link-alt "> </ i >
197- </ a >
197+ {% localize off %}
198+ < a href ="https://maps.google.com/maps?q={{ event.venue.latitude }},{{ event.venue.longitude }} ">
199+ {{ event.venue.address }}
200+ </ a >
201+ {% endlocalize %}
198202 </ p >
199203 </ address >
200204 {% endif %}
@@ -217,15 +221,17 @@ <h1 class="title section-title dyn-anchor-heading">
217221 </ div >
218222 </ div >
219223
220- < script type ="text/javascript ">
221- window . addEventListener ( 'map:init' , function ( e ) {
222- const map = e . detail . map ;
223- const coordinates = [ '{{ event.venue.latitude }}' , '{{ event.venue.longitude }}' ] ;
224- const zoom = 17 ;
225- map . setView ( coordinates , zoom ) ;
226- L . marker ( coordinates ) . addTo ( map ) ;
227- } , false ) ;
228- </ script >
224+ {% localize off %}
225+ < script type ="text/javascript ">
226+ window . addEventListener ( 'map:init' , function ( e ) {
227+ const map = e . detail . map ;
228+ const coordinates = [ '{{ event.venue.latitude }}' , '{{ event.venue.longitude }}' ] ;
229+ const zoom = 17 ;
230+ map . setView ( coordinates , zoom ) ;
231+ L . marker ( coordinates ) . addTo ( map ) ;
232+ } , false ) ;
233+ </ script >
234+ {% endlocalize %}
229235 </ section >
230236
231237
0 commit comments