1<#assign groupID = themeDisplay.getScopeGroupId()>
2<#assign url = themeDisplay.getPortalURL() >
3<#assign urlFriendly = urlFriendly >
4
5
6<#if entries?has_content>
7 <#list entries as cur>
8
9 <#assign fechaStart = cur.getStartDate()>
10 <#assign fechaStartMinutosSegundos = cur.getStartOnlyTime()>
11 <#assign fechaEnd = cur.getEndDate()>
12 <#assign fechaEndMinutosSegundos = cur.getEndOnlyTime()>
13 <#if locale == 'es_ES'>
14 <#list fechaStart?split("/") as sValue>
15 <#if sValue[0]?length == 2>
16 <#assign fechaStart = sValue[2]+"/"+sValue[1]+"/"+sValue[0]>
17 </#if>
18 </#list>
19 <#list fechaEnd?split("/") as sValue>
20 <#if sValue[0]?length == 2>
21 <#assign fechaEnd = sValue[2]+"/"+sValue[1]+"/"+sValue[0]>
22 </#if>
23 </#list>
24 <#else>
25 <#list fechaStart?split("/") as sValue>
26 <#if sValue[0]?length == 4>
27 <#assign fechaStart = sValue[2]+"/"+sValue[1]+"/"+sValue[0]>
28 </#if>
29 </#list>
30 <#list fechaEnd?split("/") as sValue>
31 <#if sValue[0]?length == 4>
32 <#assign fechaEnd = sValue[2]+"/"+sValue[1]+"/"+sValue[0]>
33 </#if>
34 </#list>
35 </#if>
36
37 <#assign esIdiomaEuskera = themeDisplay.getLanguageId() == "eu_ES">
38
39 <#function obtenerNombreMes(numeroMes, idioma)>
40 <#assign nombresMesesPorIdioma = {
41 "es_ES": ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"],
42 "en_US": ["jan", "feb", "mar", "apr", "May", "jun", "jul", "aug", "sep", "oct", "nov", "dec"],
43 "eu_ES": ["urt", "ots", "mar", "api", "mai", "eka", "uzt", "abu", "ira", "urr", "aza", "abe"],
44 "fr_FR": ["jan", "fév", "mar", "avr", "mai", "jui", "jui", "aoû", "sep", "oct", "nov", "déc"]
45 }>
46
47 <#assign nombresMeses = nombresMesesPorIdioma[idioma]>
48
49 <#return nombresMeses[numeroMes?number - 1]>
50 </#function>
51
52 <#macro imprimirFecha fecha idioma>
53 <#assign partesFecha = fecha?split("/")>
54
55 <#if esIdiomaEuskera>
56 <#assign dia = partesFecha[2]?trim />
57 <#else>
58 <#assign dia = partesFecha[0]?trim />
59 </#if>
60 <#assign numeroMes = partesFecha[1]?trim />
61 <#assign anio = partesFecha[2]?trim />
62
63 ${obtenerNombreMes(numeroMes, idioma)}. ${dia}
64 </#macro>
65 <#assign urlEvento=url+urlFriendly+"?entryId="+cur.calendarBookingId />
66
67 <#if cur.isRecurring() >
68
69 <#assign urlEvento=urlEvento+"&instanceIndex=" + cur.getInstanceIndex() />
70
71 </#if>
72
73 <div class="col-12 mb-4">
74 <div class="izfe-evento-item-link d-block izfe-bg-blue-dark text-white h-100 m-0">
75 <div class="izfe-evento-item row m-0">
76 <div class="col-2 d-flex justify-content-center overflow-hidden p-0 h-100">
77 <a class="d-flex w-100 align-items-center justify-content-center"
78 aria-label='Evento ${cur.getTitle()} '
79 href="${urlEvento}">
80 <img class="izfe-evento-img"
81 <#if cur.getImagenPath()??>
82 alt="${cur.getImagenPath()}"
83 src="${cur.getImagenPath()}"
84 </#if>
85 />
86 </a>
87 </div>
88 <div class="col-10 p-0">
89 <a class="d-flex h-100 w-100 p-3" aria-label='Evento ${cur.getTitle()}' href="${urlEvento}">
90 <div class="d-flex flex-column">
91 <p class="izfe-evento-titulo izfe-semibold mb-3 h4">
92 ${cur.getTitle()}
93 </p>
94
95 <div class="desc">
96 <p>
97 ${cur.getBriefDescription()}
98 </p>
99 </div>
100
101 <div class="d-flex align-items-center izfe-evento-fecha flex-wrap mb-2">
102 <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30">
103 <g id="Grupo_5" data-name="Grupo 5" transform="translate(-953 -515)">
104 <rect id="Rectángulo_1" data-name="Rectángulo 1" width="30" height="30" transform="translate(953 515)" fill="#fff"/>
105 <g id="Grupo_1" data-name="Grupo 1" transform="translate(0 1)">
106 <path id="Trazado_1" data-name="Trazado 1" d="M21.891,21.526H1.547A1.534,1.534,0,0,1,0,20.009V3.971A1.534,1.534,0,0,1,1.547,2.454H5.276V.284a.284.284,0,1,1,.568,0v2.17H17.595V.515a.284.284,0,1,1,.567,0V2.454h3.729a1.533,1.533,0,0,1,1.546,1.517V20.009a1.533,1.533,0,0,1-1.546,1.517M.568,6.846V20.009a.965.965,0,0,0,.979.949H21.891a.966.966,0,0,0,.98-.949V6.846Zm0-.568h22.3V3.971a.966.966,0,0,0-.98-.949H18.162V4.441a.284.284,0,1,1-.567,0V3.022H5.844V4.21a.284.284,0,0,1-.568,0V3.022H1.547a.966.966,0,0,0-.979.949ZM19.427,18H17.848a.284.284,0,0,1,0-.567h1.579a.284.284,0,0,1,0,.567m-4.736,0H13.112a.284.284,0,0,1,0-.567h1.579a.284.284,0,0,1,0,.567M9.955,18H8.376a.284.284,0,0,1,0-.567H9.955a.284.284,0,1,1,0,.567M5.219,18H3.641a.284.284,0,1,1,0-.567H5.219a.284.284,0,1,1,0,.567m14.208-3.7H17.848a.284.284,0,0,1,0-.568h1.579a.284.284,0,0,1,0,.568m-4.736,0H13.112a.284.284,0,0,1,0-.568h1.579a.284.284,0,0,1,0,.568m-4.736,0H8.376a.284.284,0,0,1,0-.568H9.955a.284.284,0,1,1,0,.568m-4.736,0H3.641a.284.284,0,1,1,0-.568H5.219a.284.284,0,1,1,0,.568m14.208-3.7H17.848a.284.284,0,0,1,0-.567h1.579a.284.284,0,0,1,0,.567m-4.736,0H13.112a.284.284,0,0,1,0-.567h1.579a.284.284,0,0,1,0,.567m-4.736,0H8.376a.284.284,0,0,1,0-.567H9.955a.284.284,0,1,1,0,.567m-4.736,0H3.641a.284.284,0,1,1,0-.567H5.219a.284.284,0,1,1,0,.567" transform="translate(956 518)" fill="#161615"/>
107 </g>
108 </g>
109 </svg>
110 <span class="ml-1 mr-1"><@imprimirFecha fecha=fechaStart idioma=themeDisplay.getLanguageId() /></span>
111
112 <#if fechaStart == fechaEnd>
113 <#if fechaStartMinutosSegundos != "00:00">
114
115 <span class="ml-2 mr-1">${fechaStartMinutosSegundos}</span>
116 -
117 <span class="ml-1">${fechaEndMinutosSegundos}</span>
118 </#if>
119 <#else>
120 -
121 <span class="ml-1"><@imprimirFecha fecha=fechaEnd idioma=themeDisplay.getLanguageId() /></span>
122 </#if>
123 </div>
124 <p class="izfe-evento-localizacion m-0">
125 <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30">
126 <g id="Grupo_6" data-name="Grupo 6" transform="translate(-953 -560)">
127 <g id="Grupo_4" data-name="Grupo 4">
128 <rect id="Rectángulo_2" data-name="Rectángulo 2" width="30" height="30" transform="translate(953 560)" fill="#fff"/>
129 <g id="Grupo_2" data-name="Grupo 2" transform="translate(0 15)">
130 <path id="Trazado_2" data-name="Trazado 2" d="M11.719,53.668a.284.284,0,0,1-.235-.124c-.3-.446-7.41-10.978-7.41-14.971a7.552,7.552,0,0,1,7.645-7.437,7.551,7.551,0,0,1,7.645,7.437c0,3.993-7.108,14.525-7.41,14.971a.284.284,0,0,1-.235.124m0-21.966a6.985,6.985,0,0,0-7.077,6.871c0,3.426,5.825,12.41,7.077,14.3C12.971,50.983,18.8,42,18.8,38.573A6.986,6.986,0,0,0,11.719,31.7m0,10.488a3.855,3.855,0,1,1,3.958-3.855,3.911,3.911,0,0,1-3.958,3.855m0-7.142a3.289,3.289,0,1,0,3.392,3.287,3.344,3.344,0,0,0-3.392-3.287" transform="translate(956 518)" fill="#161615"/>
131 </g>
132 </g>
133 </g>
134 </svg>
135
136 <#if cur.getLocalizacion()!="">
137 ${cur.getLocalizacion()}
138 </#if>
139 </p>
140 </div>
141 </a>
142 </div>
143 </div>
144 </div>
145 </div>
146 </#list>
147</#if>