From bf7f5d3cd73be8389bea7c99dc491e3c89a83202 Mon Sep 17 00:00:00 2001 From: Carlo Alberto Degli Atti Date: Thu, 26 Jan 2023 09:25:55 +0100 Subject: [PATCH 1/2] Fix dojos starting hours --- ...ojo-21-gennaio-2023-Biblioteca_Bonola.markdown | 15 +++++++++++++++ ...dojo-15-aprile-2023-Biblioteca_Bonola.markdown | 2 +- ...dojo-20-maggio-2023-Biblioteca_Bonola.markdown | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 _posts/2023-01-21-coderdojo-21-gennaio-2023-Biblioteca_Bonola.markdown diff --git a/_posts/2023-01-21-coderdojo-21-gennaio-2023-Biblioteca_Bonola.markdown b/_posts/2023-01-21-coderdojo-21-gennaio-2023-Biblioteca_Bonola.markdown new file mode 100644 index 0000000..5a6ecb4 --- /dev/null +++ b/_posts/2023-01-21-coderdojo-21-gennaio-2023-Biblioteca_Bonola.markdown @@ -0,0 +1,15 @@ +--- +author: admin +comments: false +date: 2023-01-21 14:30:00+01:00 +layout: event +location: biblioteca_bonola +registration_url: https://milano.biblioteche.it/library/gallaratese/cal/coder-dojo/ +type: Player +slug: coderdojo-il-21-gennaio-biblioteca-bonola +title: CoderDojo il 21 gennaio nella biblioteca Gallaratese +img: event_03.jpg +thumb: event_03.jpg +categories: +- event_planned +--- diff --git a/_posts/2023-04-15-coderdojo-15-aprile-2023-Biblioteca_Bonola.markdown b/_posts/2023-04-15-coderdojo-15-aprile-2023-Biblioteca_Bonola.markdown index b473fec..f510da4 100644 --- a/_posts/2023-04-15-coderdojo-15-aprile-2023-Biblioteca_Bonola.markdown +++ b/_posts/2023-04-15-coderdojo-15-aprile-2023-Biblioteca_Bonola.markdown @@ -1,7 +1,7 @@ --- author: admin comments: false -date: 2023-04-15 14:30:00+01:00 +date: 2023-04-15 14:30:00+02:00 layout: event location: biblioteca_bonola registration_url: diff --git a/_posts/2023-05-20-coderdojo-20-maggio-2023-Biblioteca_Bonola.markdown b/_posts/2023-05-20-coderdojo-20-maggio-2023-Biblioteca_Bonola.markdown index 9046b08..6097311 100644 --- a/_posts/2023-05-20-coderdojo-20-maggio-2023-Biblioteca_Bonola.markdown +++ b/_posts/2023-05-20-coderdojo-20-maggio-2023-Biblioteca_Bonola.markdown @@ -1,7 +1,7 @@ --- author: admin comments: false -date: 2023-05-20 14:30:00+01:00 +date: 2023-05-20 14:30:00+02:00 layout: event location: biblioteca_bonola registration_url: From 0f98baf41d8bd35954e786d55d63c4957ecc2d2f Mon Sep 17 00:00:00 2001 From: Carlo Alberto Degli Atti Date: Thu, 26 Jan 2023 12:53:16 +0100 Subject: [PATCH 2/2] Review the event page for a better map rendering --- _includes/css/style.css | 2 +- _layouts/event.html | 46 +++++++++++++++++++---------------------- assets/js/map.js | 4 ++-- 3 files changed, 24 insertions(+), 28 deletions(-) diff --git a/_includes/css/style.css b/_includes/css/style.css index 9307b64..e73d6d7 100755 --- a/_includes/css/style.css +++ b/_includes/css/style.css @@ -431,7 +431,7 @@ img::-moz-selection { } #event_map_container { - height: 240px; + height: 400px; } .map_dojo_name { diff --git a/_layouts/event.html b/_layouts/event.html index 2699ab6..b1b7cfa 100755 --- a/_layouts/event.html +++ b/_layouts/event.html @@ -1,6 +1,9 @@ --- layout: default --- +{% if page.registration_url contains "eventbrite.it/" %} + {% assign eventbrite_id = page.registration_url | split:"-" | last %} +{% endif %}
@@ -8,29 +11,19 @@

{{ page.title }}

-
+

Data/Ora

{{ page.date | date: "%d/%m/%Y %H:%M" }}

-

Luogo

{%for location in site.event_locations%}{%if location.id == page.location%} -

{{ location.name }}

-

{{ location.addr }}

- {%endif%}{%endfor%} -
-
-
-
-
- {% if page.registration_url contains "eventbrite.it/" %} - {% assign eventbrite_id = page.registration_url | split:"-" | last %} - {% assign layout_width = "col-lg-6" %} - {% else %} - {% assign layout_width = "col-lg-12" %} - {% endif %} -
-
- {{content}} +

Luogo

+ {%for location in site.event_locations%} + {%if location.id == page.location%} +

{{ location.name }}

+

{{ location.addr }}

+ {%endif%} + {%endfor%} +

Istruzioni

-

Per partecipare all'evento è necessario registrarsi {%if page.registration_url %}({%if eventbrite_id %}vedi il RIQUADRO oppure {% endif %}CLICCA QUI){% else %}(le informazioni per la registrazione non sono ancora disponibili){% endif %}

+

Per partecipare all'evento è necessario registrarsi {%if page.registration_url %}({%if eventbrite_id %}vedi il RIQUADRO oppure {% endif %}CLICCA QUI){% else %}(le informazioni per la registrazione non sono ancora disponibili){% endif %}.

Vi invitiamo a richiedere un ticket per ogni partecipante: la procedura consentirà di richiedere più ticket contemporaneamente.

Una volta effettuata la registrazione riceverete una mail di conferma: nel caso non la riceveste vi invitiamo a rivedere la vostra registrazione

A causa dei posti limitati non potremo consentire a chi è sprovvisto di registrazione di partecipare all’evento, *senza alcuna eccezione*

@@ -41,13 +34,16 @@

Ricordate di portare

  • una merenda
  • - {% include informazioni_generali_eventi.html %} -
    + {% include informazioni_generali_eventi.html %} - {%if eventbrite_id %} -
    - {% endif %} +
    +
    +
    + {%if eventbrite_id %} +
    + {% endif %} +
    diff --git a/assets/js/map.js b/assets/js/map.js index 4052ccf..3c4c416 100644 --- a/assets/js/map.js +++ b/assets/js/map.js @@ -44,9 +44,9 @@ function setMarker(map, dojo, popupOpen) { iconUrl: '/assets/img/marker_cdmi.png', iconSize: [64, 64], // size of the icon shadowSize: [0, 0], // size of the shadow - iconAnchor: [32, 64], // point of the icon which will correspond to marker's location + iconAnchor: [32, 0], // point of the icon which will correspond to marker's location shadowAnchor: [0, 0], // the same for the shadow - popupAnchor: [32, -64] // point from which the popup should open relative to the iconAnchor + popupAnchor: [0, 0] // point from which the popup should open relative to the iconAnchor }); var popup_html = "
    " + dojo.addr + "
    " var marker = L.marker([dojo.lat, dojo.lon], {icon: cdmiMarkerIcon}).addTo(map).bindPopup(popup_html); pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy