Events

Personalia:
220 emaitza erakusten 15/06/2024 - 14/08/2024 datetarako
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> nombresMesesPorIdioma[idioma]  [in template "20907#20945#63416371" at line 47, column 35]

----
Tip: It's the final [] step that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign nombresMeses = nombresMesesPo...  [in template "20907#20945#63416371" in function "obtenerNombreMes" at line 47, column 11]
	- Reached through: ${obtenerNombreMes(numeroMes, idioma)}  [in template "20907#20945#63416371" in macro "imprimirFecha" at line 63, column 11]
	- Reached through: @imprimirFecha fecha=fechaStart idiom...  [in template "20907#20945#63416371" at line 103, column 61]
----
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 
66        <div class="col-12 mb-4"> 
67            <div class="izfe-evento-item-link d-block izfe-bg-blue-dark text-white h-100 m-0"> 
68                <div class="izfe-evento-item row m-0"> 
69                    <div class="col-2 d-flex justify-content-center overflow-hidden p-0 h-100"> 
70                        <a class="d-flex w-100 align-items-center justify-content-center" 
71                            aria-label='Evento ${cur.getTitle()} ' 
72                            href="${url}${urlFriendly}?entryId=${cur.getCalendarBookingId()}"> 
73                            <img class="izfe-evento-img" 
74                            <#if cur.getImagenPath()??> 
75                            alt="${cur.getImagenPath()}" 
76                            src="${cur.getImagenPath()}" 
77                            </#if> 
78                            /> 
79                        </a> 
80                    </div> 
81                    <div class="col-10 p-0"> 
82                        <a class="d-flex h-100 w-100 p-3" aria-label='Evento ${cur.getTitle()}' href="${url}${urlFriendly}?entryId=${cur.getCalendarBookingId()}"> 
83                            <div class="d-flex flex-column"> 
84                                <p class="izfe-evento-titulo izfe-semibold mb-3 h4"> 
85                                    ${cur.getTitle()} 
86                                </p> 
87 
88                                <div class="desc"> 
89                                    <p> 
90                                        ${cur.getBriefDescription()} 
91                                    </p> 
92                                </div> 
93                                 
94                                <div class="d-flex align-items-center izfe-evento-fecha flex-wrap mb-2"> 
95                                    <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"> 
96                                        <g id="Grupo_5" data-name="Grupo 5" transform="translate(-953 -515)"> 
97                                          <rect id="Rectángulo_1" data-name="Rectángulo 1" width="30" height="30" transform="translate(953 515)" fill="#fff"/> 
98                                          <g id="Grupo_1" data-name="Grupo 1" transform="translate(0 1)"> 
99                                            <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"/> 
100                                          </g> 
101                                        </g> 
102                                      </svg> 
103                                    <span class="ml-1 mr-1"><@imprimirFecha fecha=fechaStart idioma=themeDisplay.getLanguageId() /></span> 
104 
105                                    <#if fechaStart == fechaEnd> 
106                                        <#if fechaStartMinutosSegundos != "00:00"> 
107 
108                                            <span class="ml-2 mr-1">${fechaStartMinutosSegundos}</span> 
109
110                                            <span class="ml-1">${fechaEndMinutosSegundos}</span> 
111                                        </#if> 
112                                    <#else> 
113
114                                        <span class="ml-1"><@imprimirFecha fecha=fechaEnd idioma=themeDisplay.getLanguageId() /></span> 
115                                    </#if> 
116                                    </div> 
117                                    <p class="izfe-evento-localizacion m-0"> 
118                                        <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"> 
119                                            <g id="Grupo_6" data-name="Grupo 6" transform="translate(-953 -560)"> 
120                                              <g id="Grupo_4" data-name="Grupo 4"> 
121                                                <rect id="Rectángulo_2" data-name="Rectángulo 2" width="30" height="30" transform="translate(953 560)" fill="#fff"/> 
122                                                <g id="Grupo_2" data-name="Grupo 2" transform="translate(0 15)"> 
123                                                  <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"/> 
124                                                </g> 
125                                              </g> 
126                                            </g> 
127                                          </svg> 
128                                           
129                                    <#if cur.getLocalizacion()!=""> 
130                                        ${cur.getLocalizacion()} 
131                                    </#if> 
132                                </p> 
133                            </div> 
134                        </a> 
135                    </div> 
136                </div> 
137            </div> 
138        </div> 
139    </#list> 
140</#if>