Igualtat i Justícia Social
Igualtat i Justícia Social

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing: ==> imatge [in template "20116#20160#127560" at line 12, column 64] ---- 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: ${imatge.getData()} [in template "20116#20160#127560" at line 12, column 62] - Reached through: @liferay_util["html-top"] [in template "20116#20160#127560" at line 11, column 1] ----
1<style>
2 ul.breadcrumb.fil-ariadna li:last-child,
3 .component-title.h4,
4 .metadata-author{
5 display: none;
6 }
7</style>
8<@liferay_util["html-top"]>
9 <meta property="twitter:card" content="summary_large_image">
10</@>
11<@liferay_util["html-top"]>
12 <meta property="og:image" content="https://web.girona.cat${imatge.getData()}">
13</@>
14<@liferay_util["html-top"]>
15 <meta property="og:image:url" content="https://web.girona.cat${imatge.getData()}">
16</@>
17
18<#assign journalArticleId = .vars['reserved-article-id'].data/>
19
20<div class='web-ajuntament-girona-template'>
21<#if titol?? && titol.getData() != "">
22 <h1>${titol.getData()}</h1>
23 <script>
24 document.title = "${titol.getData()}";
25 </script>
26</#if>
27
28<#if subtitol?? && subtitol.getData() != "">
29 <p class="news_intro2">${subtitol.getData()}</p>
30</#if>
31
32 <div class="entradeta">
33
34<#-- OBTENCIÓ I PRESENTACIÓ DATA PUBLICACIÓ -->
35<#assign articleDisplayDate = .vars['reserved-article-display-date'].data>
36<#assign originalLocale = locale>
37<#setting locale = 'ca_ES'>
38<#assign date = articleDisplayDate?date("EEE, dd MMM yyyy HH:mm:ss zzz")>
39<#assign dateTimeFormat = languageUtil.get(originalLocale, "EEEE dd/MM/yyyy - H.mm 'h'")>
40<#assign data_hivern = (date?long + 1*3600*1000)?number_to_date>
41<#assign data_hivern = data_hivern?string(dateTimeFormat)>
42<#assign data_estiu = (date?long + 2*3600*1000)?number_to_date>
43<#assign data_estiu = data_estiu?string(dateTimeFormat)>
44<#assign dateTimeFormat = languageUtil.get(originalLocale, "yyyy/MM/dd/H/mm")>
45<#assign data_js = date?long?number_to_date>
46<#assign data_js = data_js?string(dateTimeFormat)>
47<#setting locale = originalLocale>
48 <p class="news_data2" id="data_noticia"></p>
49<script>
50 if (UTC_offset("${data_js}") == 1) document.getElementById('data_noticia').innerText = "${data_hivern?cap_first}";
51 else document.getElementById('data_noticia').innerText = "${data_estiu?cap_first}";
52</script>
53<#-- FI DATA PUBLICACIÓ -->
54
55 </div>
56
57<#-- MANIPULACIÓ FOTOS -->
58<#if imatge??>
59<#assign peu_foto="" text_alt="">
60 <#if imatge.getData()?? && imatge.getData() != "">
61 <#if imatge.getAttribute('alt') != "" && imatge.getAttribute('alt')[0..2] == "(c)">
62 <#assign peu_foto = "" text_alt = imatge.getAttribute('alt')>
63 </#if>
64 <#if imatge.getAttribute('alt') != "" && imatge.getAttribute('alt')[0..2] != "(c)">
65 <#assign peu_foto = imatge.getAttribute('alt') text_alt = imatge.getAttribute('alt')>
66 </#if>
67 <div class="foto_box" id="AUIgaleria">
68 <div class="grossa" style="background-image: url(/o/si?&i=${imatge.getData()})">
69 <a href="/o/si?&i=${imatge.getData()}" title="${text_alt}" class="AUI${journalArticleId}"><img src="/o/si?&i=${imatge.getData()}" style="display: none" alt=""><img src="/o/ajuntament-theme/img/b.gif" alt=""></a>
70 </div>
71 <#if peu_foto != "">
72 <div class="peu_foto">${peu_foto}</div>
73 </#if>
74 <#if imatges?? && imatges.getData() != "">
75 <#if imatges.getSiblings()?has_content>
76 <#if peu_foto == "">
77 <div class="peu_foto"></div>
78 </#if>
79 <#list imatges.getSiblings() as cur_imatges>
80 <#if cur_imatges.getData()?? && cur_imatges.getData() != "">
81
82 <div class="petita" style="background-image: url(/o/si?&i=${cur_imatges.getData()})"><a href="/o/si?&i=${cur_imatges.getData()}" title="${cur_imatges.getAttribute('alt')}" class="AUI${journalArticleId}"><img src="/o/si?&i=${cur_imatges.getData()}" style="display: none" alt=""><img src="/o/ajuntament-theme/img/b.gif" alt=""></a></div>
83
84 </#if>
85 </#list>
86 </#if>
87 </#if>
88 <div class="reset"></div>
89
90 </div>
91 <script>
92 AUI().use(
93 'aui-image-viewer',
94 function(Y) {
95 new Y.ImageViewer(
96 {
97 caption: '${titol.getData()?js_string}',
98 captionFromTitle: true,
99 centered: true,
100 imageAnim: {
101 duration: 1,
102 easing: 'easeIn'
103 },
104 intervalTime: 2,
105 links: '#AUIgaleria a.AUI${journalArticleId}',
106 playing: false,
107 preloadAllImages: true,
108 preloadNeighborImages: true,
109 showInfo: true,
110 showPlayer: true,
111 zIndex: 1
112 }
113 ).render();
114 }
115 );
116 </script>
117
118 </#if>
119</#if>
120
121<#if descPrincipal1.getData()?? && descPrincipal1.getData() != "">
122 <div class='supernoticia'>
123
124 <#-- Vídeo -->
125 <#if video?? && video.getData() != "">
126 <#assign codi_video = video.getData()>
127 <#if codi_video[0..4] == "list=">
128 <#-- CODI PLAYLIST -->
129 <div class="video-noticies">
130 <iframe width="583" height="300" src="https://www.youtube.com/embed/videoseries?list=${codi_video[5..]}&autoplay=0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen style="border: none"></iframe>
131 </div>
132 <#else>
133 <div class="video-noticies">
134 <iframe width="583" height="300" src="https://www.youtube.com/embed/${codi_video}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
135 </div>
136 </#if>
137 </#if>
138
139 ${descPrincipal1.getData()}
140 </div>
141</#if>
142
143
144<#-- ENLLAÇOS I DOCUMENTS -->
145<#-- preparant array amb valors dels botons -->
146<#assign array_botons = []>
147<#if text_boto?? && text_boto.getData() != "">
148 <#if text_boto.getSiblings()?has_content>
149 <#list text_boto.getSiblings() as cur_link>
150 <#assign array_botons = array_botons + [{
151 "nom": cur_link.getData(),
152 "ordre": cur_link.getChild('ordre').getData(),
153 "url": cur_link.getChild('url').getData(),
154 "document": cur_link.getChild('document').getData()
155 }]>
156 </#list>
157 </#if>
158</#if>
159<#-- reordenant botons i presentant-los -->
160<#list array_botons?sort_by("ordre") as cur_boto>
161 <#if cur_boto.url != "" || cur_boto.document != "">
162 <#if cur_boto.document != "">
163 <#assign link = "https://web.girona.cat"+cur_boto.document icona = "file">
164 <#else>
165 <#assign link = cur_boto.url>
166 <#if link?lower_case?contains(".pdf") || link?lower_case?contains(".xls") || link?lower_case?contains(".xlsx") || link?lower_case?contains(".pps") || link?lower_case?contains(".ppt") || link?lower_case?contains(".pptx")>
167 <#assign icona = "file">
168 <#else>
169 <#assign icona = "new-window">
170 </#if>
171 </#if>
172 <a href="${link}" target="_blank" class="btn btn-pdf" role="button"><span class="glyphicon glyphicon-${icona}"></span> ${cur_boto.nom}</a><br>
173 </#if>
174</#list>
175<a id="volver-atras" class="btn" href="#" role="button" title="Tornar">Tornar</a>
176<script>
177 const urlActual = window.location.href;
178 const indexAsset = urlActual.indexOf("/-/");
179 const indexQuery = urlActual.indexOf("?");
180 let urlBase = urlActual;
181 if (indexAsset !== -1) {
182 urlBase = urlActual.substring(0, indexAsset);
183 } else if (indexQuery !== -1) {
184 urlBase = urlActual.substring(0, indexQuery);
185 }
186 document.getElementById("volver-atras").href = urlBase;
187</script>
188</div>
Igualtat i Justícia Social
Àrea de què depèn:
Àrea de Servei a les Persones i Convivència
Adreça:
Plaça del Vi, 1
17004 - GIRONA
Telèfon:
972 419 416