Donazione e Trapianti
Donazione e Trapianti
Tutte le sezioni
Chiudi il menù
Salute
Tutte le informazioni e i servizi che riguardano la sanità toscana in tema di: gravidanza e nascita, medicina di base e pediatria, bioetica, cure palliative, donazioni e trapianti, farmaci, ticket e visite, vaccinazioni e medicine complementari, malattie oncologiche.
Per le mamme che producono più latte rispetto ai bisogni del proprio bambino, la donazione&nb...
ultima modifica: 26.01.2024
La donazione un gesto anonimo, volontario, gratuito e consapevole.
ultima modifica: 03.10.2023
Nel sangue del cordone ombelicale, abitualmente gettato via dopo il parto, sono presenti cel...
ultima modifica: 05.08.2022
Donare organi e tessuti significa sempre pi spesso salvare una vita. Leggi come e quando disporre ...
ultima modifica: 08.06.2022
Il numero delle persone in lista di attesa per un trapianto d'organi è in aumento e spesso è...
ultima modifica: 08.06.2022
Derivanti dal midollo osseo, dal sangue periferico o dal sangue cordonale
ultima modifica: 08.06.2022
Donazione di midollo osseo
La donazione di midollo osseo permette il prelievo e il successi...
ultima modifica: 08.06.2022
Si è verificato un errore nell'elaborarazione del modello.
Java method "static com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(String, long)" threw an exception; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign fileEntry = DLFileEntryLocalS... [in template "10154#10192#19096408" at line 483, column 137] ----
1<#setting locale="it_IT">
2
3<#assign siteBaseURL = themeDisplay.getPortalURL() />
4
5<#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"] />
6<#assign AssetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]>
7
8<#assign LayoutLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.LayoutLocalServiceUtil"] />
9<#assign AssetCategoryServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryServiceUtil"] />
10<#assign childCategoryId = 0 />
11<#assign parentCategoryId = 0 />
12<#assign values = portletPreferences['queryValues0'] />
13<#if values?has_content>
14 <#list values as value>
15 <#assign currentCat = AssetCategoryServiceUtil.getCategory(value?number) />
16 <#assign AssetVocabularyServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyServiceUtil"]>
17 <#assign assetVocabulary = AssetVocabularyServiceUtil.getVocabulary(currentCat.getVocabularyId()) />
18 <#if assetVocabulary.getName() == "Temi">
19 <#if currentCat.getParentCategory()??>
20 <#assign childCategoryId = currentCat.getCategoryId()/>
21 <#assign parentCategoryId = currentCat.getParentCategory().getCategoryId() />
22 <#else>
23 <#assign parentCategoryId = currentCat.getCategoryId()/>
24 </#if>
25 </#if>
26 </#list>
27</#if>
28
29<#if !entries?has_content>
30 <#if themeDisplay.isSignedIn()>
31 <div class="alert alert-info">
32 <@liferay.language key="there-are-no-menu-items-to-display" />
33 </div>
34 </#if>
35</#if>
36
37<#if entries?has_content>
38 <#assign currentPageName = themeDisplay.getLayout().getName(locale) />
39
40 <#assign iconTema = "" />
41 <#assign headerPageName = "" />
42 <#assign headerPageURL = "" />
43 <#assign subHeaderPageName = "" />
44 <#assign subHeaderPageURL = "" />
45 <#assign sottotema = false />
46 <#assign hasSubSottotema = false />
47
48 <#assign temaPage = ""/>
49 <#assign temaPageProva = ""/>
50
51 <#assign layout = themeDisplay.getLayout() />
52 <#if layout.getParentLayoutId() != 0 >
53 <#assign parentLayout = LayoutLocalServiceUtil.getLayout(layout.getGroupId(), false, layout.getParentLayoutId()) />
54
55 <#if parentLayout.getParentLayoutId() != 0 && parentLayout.getName(locale) != "TEMI E SERVIZI">
56
57 <#assign temaPage = parentLayout />
58
59 <#assign sottotema = true />
60 <#assign headerPageName = parentLayout.getName(locale) />
61 <#assign headerPageURL = siteBaseURL + parentLayout.getFriendlyURL() />
62
63 <#assign parentParentLayout = LayoutLocalServiceUtil.getLayout(parentLayout.getGroupId(), false, parentLayout.getParentLayoutId()) />
64
65 <#if parentParentLayout.getParentLayoutId() != 0 && parentParentLayout.getName(locale) != "TEMI E SERVIZI">
66 <#assign parentParentParentLayout = LayoutLocalServiceUtil.getLayout(parentParentLayout.getGroupId(), false, parentParentLayout.getParentLayoutId()) />
67
68 <#if parentParentParentLayout.getParentLayoutId() != 0 && parentParentParentLayout.getName(locale) == "TEMI E SERVIZI">
69 <#assign iconTema = "rt-icon-" + parentParentLayout.getName(locale)?replace(" ", "")?lower_case />
70 <#assign headerPageName = parentParentLayout.getName(locale) />
71 <#assign headerPageURL = siteBaseURL + parentParentLayout.getFriendlyURL() />
72 <#assign subHeaderPageName = parentLayout.getName(locale) />
73 <#assign subHeaderPageURL = siteBaseURL + parentLayout.getFriendlyURL() />
74 <#assign hasSubSottotema = true />
75
76 <#assign temaPage = parentParentLayout />
77
78 </#if>
79 <#else>
80 <#assign iconTema = "rt-icon-" + parentLayout.getName(locale)?replace(" ", "")?lower_case />
81 <#assign headerPageName = parentLayout.getName(locale) />
82 </#if>
83
84 <#else>
85 <#assign temaPage = themeDisplay.getLayout() />
86
87 <#assign iconTema = "rt-icon-" + currentPageName?replace(" ", "")?lower_case />
88 </#if>
89
90 </#if>
91
92 <#assign pageAggiornamentiTema = "" />
93
94 <#if temaPage?? && temaPage != "">
95 <#if temaPage.getExpandoBridge().hasAttribute("Pagina Aggiornamenti Tema") >
96 <#assign pageAggiornamentiTema = temaPage.getExpandoBridge().getAttribute("Pagina Aggiornamenti Tema") />
97 </#if>
98 </#if>
99 <#if pageAggiornamentiTema?? && pageAggiornamentiTema!="">
100 <#if childCategoryId?? && childCategoryId != 0>
101 <#assign pageAggiornamentiTema = pageAggiornamentiTema + "?p_r_p_categoryId=" + childCategoryId />
102 <#elseif parentCategoryId?? && parentCategoryId != 0>
103 <#assign pageAggiornamentiTema = pageAggiornamentiTema + "?p_r_p_categoryId=" + parentCategoryId />
104 </#if>
105 </#if>
106
107 <div class="rt-page__content ">
108 <section class="rt-section rt-section--box rt-section--box-col-3" aria-label="Sezione degli aggiornamenti">
109 <div class="rt-section-title-wrapper has-button">
110 <h2 class="rt-section-title">Aggiornamenti</h2>
111 <#if pageAggiornamentiTema?? && pageAggiornamentiTema != "" >
112 <a href="${pageAggiornamentiTema}" title="Vedi tutti gli aggiornamenti" aria-label="Vedi tutti gli aggiornamenti" class="rt-btn rt-btn-light rt-btn-view">
113 Vedi tutti
114 <i aria-hidden="true" class="far fa-plus"></i>
115 </a>
116 </#if>
117 </div>
118
119 <div class="rt-section__wrapper">
120 <#if entries?has_content>
121 <#list entries as curEntry>
122 <#assign assetRenderer = curEntry.getAssetRenderer() />
123 <#assign className = assetRenderer.getClassName() />
124
125 <#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() />
126
127 <#if className = "com.liferay.journal.model.JournalArticle" >
128 <#assign article = assetRenderer.getArticle() />
129 <#if article?? >
130 <#assign docXml = saxReaderUtil.read(article.getContent()) />
131
132 <#assign titleText = curEntry.getTitle(locale) />
133 <#assign titleLength = titleText?length />
134
135 <#if (titleLength > 98) >
136 <#assign titleText = titleText?substring(0,98) />
137 <#assign titleText = titleText + "..." />
138 </#if>
139 <div class="rt-box rt-box--update">
140 <div class="rt-box__header">
141 <div class="rt-box__wrapper">
142 <#assign categoryList = AssetCategoryLocalServiceUtil.getAssetEntryAssetCategories(curEntry.getEntryId()) />
143 <#assign temi = [] />
144 <#assign parentCategory = "" />
145 <#assign childCategory = "" />
146
147 <#assign parentCategorySpec = "" />
148
149 <#list categoryList as category>
150 <#assign AssetVocabularyServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyServiceUtil"]>
151 <#assign assetVocabulary = AssetVocabularyServiceUtil.getVocabulary(category.getVocabularyId()) />
152 <#if assetVocabulary.getName() == "Temi">
153 <#assign temi = temi + [category] />
154 <#if parentCategoryId == 0>
155 <#if category.getParentCategory()??>
156 <#assign childCategory = category.getName()/>
157 <#assign parentCategory = category.getParentCategory().getName()/>
158 <#else>
159 <#assign parentCategory = category.getName()/>
160 </#if>
161 <#else>
162 <#if category.getParentCategory()?? && (category.getParentCategory().getCategoryId() == parentCategoryId)>
163 <#assign childCategory = category.getName()/>
164 <#assign parentCategory = category.getParentCategory().getName()/>
165 <#elseif category.getCategoryId() == parentCategoryId >
166 <#assign parentCategory = category.getName()/>
167 </#if>
168 </#if>
169 </#if>
170 </#list>
171
172 <#if (parentCategory?? && parentCategory != "") || (childCategory?? && childCategory != "")>
173 <div class="rt-box__category">
174 <#if parentCategory?? && parentCategory != "">
175 ${parentCategory}
176 </#if>
177 <#if childCategory?? && childCategory != "">
178 <i class="fas fa-circle"></i>
179 ${childCategory}
180 </#if>
181 </div>
182 <#else>
183 <#list categoryList as category>
184 <#assign AssetVocabularyServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyServiceUtil"]>
185 <#assign assetVocabulary = AssetVocabularyServiceUtil.getVocabulary(category.getVocabularyId()) />
186 <#if assetVocabulary.getName() == "Speciali">
187
188
189 <#if category.getParentCategory()??>
190 <#assign tempCategory1 = category.getParentCategory() />
191 <#if tempCategory1.getParentCategory()??>
192 <#assign tempCategory2 = tempCategory1.getParentCategory() />
193
194 <#if tempCategory2.getParentCategory()??>
195 <#assign tempCategory3 = tempCategory2.getParentCategory() />
196
197 <#if tempCategory3.getParentCategory()??>
198 <#assign tempCategory4 = tempCategory3.getParentCategory() />
199
200 <#if tempCategory4.getParentCategory()??>
201 <#assign tempCategory5 = tempCategory4.getParentCategory() />
202 <#else>
203 <#assign parentCategorySpec = tempCategory4 />
204 </#if>
205 <#else>
206 <#assign parentCategorySpec = tempCategory3 />
207 </#if>
208 <#else>
209 <#assign parentCategorySpec = tempCategory2 />
210 </#if>
211 <#else>
212 <#assign parentCategorySpec = tempCategory1 />
213 </#if>
214 <#else>
215 <#assign parentCategorySpec = category />
216 </#if>
217
218 <#break>
219 </#if>
220 </#list>
221
222 <#if (parentCategorySpec?? && parentCategorySpec != "") >
223 <div class="rt-box__category">
224 Speciale
225 <i class="fas fa-circle"></i>
226 ${parentCategorySpec.getName()}
227
228 </div>
229 </#if>
230
231 </#if>
232
233 <div class="rt-box__title">
234 <a title="Vai all'aggiornamento ${titleText?replace('"','"')}" aria-label="Vai all'aggiornamento ${titleText?replace('"','"')}" href="${rendererURL}">
235 ${titleText}
236 </a>
237 </div>
238 </div>
239
240 <div class="rt-box__icon">
241
242
243
244 <#assign TipologiaAggiornamento = docXml.valueOf("//dynamic-element[@name='TipologiaAggiornamento']/dynamic-content/text()") />
245
246 <#if TipologiaAggiornamento?? && TipologiaAggiornamento != "">
247
248 <#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'GENERICO'>
249 <div class="rt-box__icon">
250 <div class="rt-box__icon-label"></div>
251
252 <#if assetRenderer.getThumbnailPath(renderRequest)?? >
253 <div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div>
254 <#else>
255 <#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
256 <#if immagineCopertina?? && immagineCopertina != "">
257 <#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) />
258
259 <#assign nameImg = json.getString("name") />
260 <#assign fileEntryId = json.getLong("fileEntryId") />
261 <#assign altImg = json.getString("alt") />
262 <#assign fileUrl = "" />
263 <#assign uuiD = json.getString("uuid") />
264 <#assign groupId = json.getLong("groupId") />
265 <#if fileEntryId != 0>
266 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
267 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
268 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
269 <#else>
270 <#if groupId != 0 && uuiD != "">
271 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
272
273 <#if fileEntry?? >
274 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
275 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
276 <#else>
277 <i aria-hidden="true" class="far fa-bell"></i>
278 </#if>
279 <#else>
280 <i aria-hidden="true" class="far fa-bell"></i>
281 </#if>
282
283 </#if>
284 <#else>
285 <i aria-hidden="true" class="far fa-bell"></i>
286 </#if>
287 </#if>
288 </div>
289 </#if>
290
291 <#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'AVVISO'>
292 <div class="rt-box__icon">
293 <div class="rt-box__icon-label">AVVISO</div>
294
295 <#if assetRenderer.getThumbnailPath(renderRequest)?? >
296 <div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div>
297 <#else>
298 <#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
299 <#if immagineCopertina?? && immagineCopertina != "">
300 <#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) />
301
302 <#assign nameImg = json.getString("name") />
303 <#assign fileEntryId = json.getLong("fileEntryId") />
304 <#assign altImg = json.getString("alt") />
305 <#assign fileUrl = "" />
306 <#assign uuiD = json.getString("uuid") />
307 <#assign groupId = json.getLong("groupId") />
308 <#if fileEntryId != 0>
309 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
310 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
311 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
312 <#else>
313 <#if groupId != 0 && uuiD != "">
314 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
315
316 <#if fileEntry?? >
317 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
318 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
319 <#else>
320 <i aria-hidden="true" class="far fa-bell"></i>
321 </#if>
322 <#else>
323 <i aria-hidden="true" class="far fa-bell"></i>
324 </#if>
325
326 </#if>
327 <#else>
328 <i aria-hidden="true" class="far fa-bell"></i>
329 </#if>
330 </#if>
331 </div>
332 </#if>
333
334 <#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'PROGETTO'>
335 <div class="rt-box__icon">
336 <div class="rt-box__icon-label">PROGETTO</div>
337
338 <#if assetRenderer.getThumbnailPath(renderRequest)?? >
339 <div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div>
340 <#else>
341 <#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
342 <#if immagineCopertina?? && immagineCopertina != "">
343 <#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) />
344
345 <#assign nameImg = json.getString("name") />
346 <#assign fileEntryId = json.getLong("fileEntryId") />
347 <#assign altImg = json.getString("alt") />
348 <#assign fileUrl = "" />
349 <#assign uuiD = json.getString("uuid") />
350 <#assign groupId = json.getLong("groupId") />
351 <#if fileEntryId != 0>
352 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
353 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
354 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
355 <#else>
356 <#if groupId != 0 && uuiD != "">
357 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
358
359 <#if fileEntry?? >
360 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
361 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
362 <#else>
363 <i aria-hidden="true" class="far fa-ruler-triangle"></i>
364 </#if>
365 <#else>
366 <i aria-hidden="true" class="far fa-ruler-triangle"></i>
367 </#if>
368
369 </#if>
370 <#else>
371 <i aria-hidden="true" class="far fa-ruler-triangle"></i>
372 </#if>
373 </#if>
374 </div>
375 </#if>
376
377 <#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'PUBBLICAZIONE'>
378 <div class="rt-box__icon">
379 <div class="rt-box__icon-label">PUBBLICAZIONE</div>
380
381 <#if assetRenderer.getThumbnailPath(renderRequest)?? >
382 <div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div>
383 <#else>
384 <#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
385 <#if immagineCopertina?? && immagineCopertina != "">
386 <#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) />
387
388 <#assign nameImg = json.getString("name") />
389 <#assign fileEntryId = json.getLong("fileEntryId") />
390 <#assign altImg = json.getString("alt") />
391 <#assign fileUrl = "" />
392 <#assign uuiD = json.getString("uuid") />
393 <#assign groupId = json.getLong("groupId") />
394 <#if fileEntryId != 0>
395 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
396 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
397 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
398 <#else>
399 <#if groupId != 0 && uuiD != "">
400 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
401
402 <#if fileEntry?? >
403 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
404 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
405 <#else>
406 <i aria-hidden="true" class="far fa-newspaper"></i>
407 </#if>
408 <#else>
409 <i aria-hidden="true" class="far fa-newspaper"></i>
410 </#if>
411
412 </#if>
413 <#else>
414 <i aria-hidden="true" class="far fa-newspaper"></i>
415 </#if>
416 </#if>
417 </div>
418 </#if>
419
420 <#if TipologiaAggiornamento?? && TipologiaAggiornamento != "" && TipologiaAggiornamento?upper_case == 'DELIBERA'>
421 <div class="rt-box__icon">
422 <div class="rt-box__icon-label">DELIBERA</div>
423
424 <#if assetRenderer.getThumbnailPath(renderRequest)?? >
425 <div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div>
426 <#else>
427 <#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
428 <#if immagineCopertina?? && immagineCopertina != "">
429 <#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) />
430
431 <#assign nameImg = json.getString("name") />
432 <#assign fileEntryId = json.getLong("fileEntryId") />
433 <#assign altImg = json.getString("alt") />
434 <#assign fileUrl = "" />
435 <#assign uuiD = json.getString("uuid") />
436 <#assign groupId = json.getLong("groupId") />
437 <#if fileEntryId != 0>
438 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
439 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
440 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
441 <#else>
442 <#if groupId != 0 && uuiD != "">
443 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
444
445 <#if fileEntry?? >
446 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
447 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
448 <#else>
449 <i aria-hidden="true" class="far fa-file-certificate"></i>
450 </#if>
451 <#else>
452 <i aria-hidden="true" class="far fa-file-certificate"></i>
453 </#if>
454
455 </#if>
456 <#else>
457 <i aria-hidden="true" class="far fa-file-certificate"></i>
458 </#if>
459 </#if>
460 </div>
461 </#if>
462 <#else>
463 <div class="rt-box__icon">
464 <#if assetRenderer.getThumbnailPath(renderRequest)?? >
465 <div class="rt-box__thumb" style="background-image: url('${assetRenderer.getThumbnailPath(renderRequest)}');"></div>
466 <#else>
467 <#assign immagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
468 <#if immagineCopertina?? && immagineCopertina != "">
469 <#assign json = jsonFactoryUtil.createJSONObject(immagineCopertina) />
470
471 <#assign nameImg = json.getString("name") />
472 <#assign fileEntryId = json.getLong("fileEntryId") />
473 <#assign altImg = json.getString("alt") />
474 <#assign fileUrl = "" />
475 <#assign uuiD = json.getString("uuid") />
476 <#assign groupId = json.getLong("groupId") />
477 <#if fileEntryId != 0>
478 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
479 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
480 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
481 <#else>
482 <#if groupId != 0 && uuiD != "">
483 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
484
485 <#if fileEntry?? >
486 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
487 <div class="rt-box__thumb" aria-label="${altImg}" style="background-image: url('${fileUrl}');"></div>
488 </#if>
489 </#if>
490
491 </#if>
492 </#if>
493 </#if>
494 </div>
495 </#if>
496 </div>
497 </div>
498
499 <div class="rt-box__text">
500 <#assign summaryText = curEntry.getSummary(locale)?replace("</strong>","")?replace("<storng>","")?replace("<strong>","")?replace("</strong>", "") />
501 <#if summaryText?? && summaryText?has_content>
502 <#if (summaryText?length > 200) >
503 <#assign summaryText = summaryText?substring(0,200) />
504 <#assign summaryText = summaryText + "..." />
505 </#if>
506 ${summaryText}
507 <#else>
508 <#assign TitoloSecondario = docXml.valueOf("//dynamic-element[@name='TitoloSecondario']/dynamic-content/text()") />
509 <#if TitoloSecondario?? && TitoloSecondario?has_content >
510 <#if (TitoloSecondario?length > 200) >
511 <#assign TitoloSecondario = TitoloSecondario?substring(0,200) />
512 <#assign TitoloSecondario = TitoloSecondario + "..." />
513 </#if>
514 <p>${TitoloSecondario}</p>
515 </#if>
516 </#if>
517 </div>
518
519 <div class="rt-box__footer">
520 <#if article.modifiedDate?? && article.modifiedDate?has_content>
521 <div class="rt-box__date-published">Aggiornato al ${article.modifiedDate?string["dd.MM.yyyy"]}</div>
522 </#if>
523 <#if article.expirationDate?? && article.expirationDate?has_content>
524 <div class="rt-box__date-expires">Scade il ${article.expirationDate?string["dd.MM.yyyy"]}</div>
525 </#if>
526 </div>
527 </div>
528 </#if>
529 </#if>
530 </#list>
531 </#if>
532 </div>
533 </section>
534 </div>
535</#if>
Si è verificato un errore nell'elaborarazione del modello.
Java method "static com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil.getFileEntry(long)" threw an exception; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign fileEntry = DLFileEntryLocalS... [in template "10154#10192#19464340" at line 329, column 89] ----
1<#assign siteBaseURL = themeDisplay.getPortalURL() />
2<#assign imagePath = themeDisplay.getTheme().getContextPath() + themeDisplay.getTheme().getImagesPath() />
3<#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"] />
4<#assign LayoutLocalServiceUtil = staticUtil["com.liferay.portal.kernel.service.LayoutLocalServiceUtil"] />
5
6<#if entries?has_content>
7 <#if (entries?size == 1)>
8 <#assign curEntry = entries[0] />
9
10 <#assign assetRenderer = curEntry.getAssetRenderer() />
11 <#assign className = assetRenderer.getClassName() />
12 <#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() />
13
14 <#assign pageURL = "/" + assetRenderer.getUrlTitle() />
15
16 <#if className = "com.liferay.journal.model.JournalArticle" >
17 <#assign article = assetRenderer.getArticle() />
18
19 <#if article?? >
20
21 <#assign docXml = saxReaderUtil.read(article.getContent()) />
22
23 <div class="rt-wrapper rt-wrapper-black">
24 <div class="rt-container">
25 <section class="rt-campagna" aria-label="${curEntry.getTitle(locale)}">
26 <div class="rt-campagna__text">
27 <h2 class="rt-campagna__title">
28 <#if article.getDDMStructureKey() == "35834" >
29 Campagna.
30 </#if>
31 <#if article.getDDMStructureKey() == "36201" >
32 Evento.
33 </#if>
34 <#if article.getDDMStructureKey() == "40616" >
35 Guida.
36 <#assign pageToRefer = docXml.valueOf("//dynamic-element[@name='PaginaGuida']/dynamic-content/text()") />
37 <#assign layoutSplitted = pageToRefer?split("@") />
38
39 <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) />
40 <#assign groupId = getterUtil.getLong(layoutSplitted[2]) />
41
42 <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) />
43
44 <#assign pageLink = siteBaseURL + layout.getFriendlyURL(locale) />
45 <#assign rendererURL = pageLink />
46 </#if>
47 <#if article.getDDMStructureKey() == "20105633" >
48 Progetto.
49 <#assign pageToRefer = docXml.valueOf("//dynamic-element[@name='PaginaProgetto']/dynamic-content/text()") />
50 <#assign layoutSplitted = pageToRefer?split("@") />
51
52 <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) />
53 <#assign groupId = getterUtil.getLong(layoutSplitted[2]) />
54
55 <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) />
56
57 <#assign pageLink = siteBaseURL + layout.getFriendlyURL(locale) />
58
59 <#assign rendererURL = pageLink />
60 </#if>
61 <#if article.getDDMStructureKey() == "20325527" >
62 Piano.
63 <#assign pageToRefer = docXml.valueOf("//dynamic-element[@name='PaginaPiano']/dynamic-content/text()") />
64 <#assign layoutSplitted = pageToRefer?split("@") />
65
66 <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) />
67 <#assign groupId = getterUtil.getLong(layoutSplitted[2]) />
68
69 <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) />
70
71 <#assign pageLink = siteBaseURL + layout.getFriendlyURL(locale) />
72 <#assign rendererURL = pageLink />
73 </#if>
74 <strong>${curEntry.getTitle(locale)}</strong>
75 </h2>
76
77
78
79 <#assign titSec = "" />
80 <#assign titoloSecondario = docXml.valueOf("//dynamic-element[@name='TitoloSecondario']/dynamic-content/text()") />
81
82 <#if titoloSecondario?has_content>
83 <#assign titSec = titoloSecondario />
84
85 <#else>
86 <#assign didascalia = docXml.valueOf("//dynamic-element[@name='Didascalia']/dynamic-content/text()") />
87 <#if didascalia?has_content>
88 <#assign titSec = didascalia />
89 </#if>
90 </#if>
91
92 <#if titSec?has_content>
93 <h3 class="rt-campagna__subtitle">${titSec}</h3>
94
95 <#assign summary = "" />
96 <div class="rt-campagna__excerpt">
97 <#assign summary = curEntry.getSummary(locale) />
98 <#if summary?has_content>
99 ${summary?replace('<[^>]+>','','r')}
100 <#else>
101 <#assign contenuto = docXml.valueOf("//dynamic-element[@name='ContenutoPrincipale']/dynamic-content/text()") />
102 <#if contenuto?has_content>
103
104 <#assign contenutoParsed = contenuto?replace('<[^>]+>','','r') />
105
106 <#assign lengthContenuto = contenutoParsed?length />
107 <#if (lengthContenuto >= 250) >
108 <#assign summary = contenutoParsed?substring(0,250) />
109 <#else>
110 <#assign summary = contenutoParsed />
111 </#if>
112 ${summary}
113 </#if>
114 </#if>
115
116 <a aria-label="Continua a leggere a proposito della Campagna" title="" class="rt-btn rt-btn-light rt-btn-read" href="${rendererURL}">
117 <span class="rt-text-ellipsis"></span>
118 Continua a leggere
119 </a>
120 </div>
121 </#if>
122
123 </div>
124 <#assign urlVideo = docXml.valueOf("//dynamic-element[@name='CodiceVideoYoutube']/dynamic-content/text()") />
125 <#if urlVideo?has_content>
126 <div class="rt-box-video__video">
127 <iframe width="700" height="450" src="https://www.youtube.com/embed/${urlVideo}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
128 <a href="${rendererURL?html}" title="Vai alla campagna" aria-label="${curEntry.getTitle(locale)}" class="rt-btn">
129 <#if article.getDDMStructureKey() == "35834" >
130 Vai alla campagna
131 </#if>
132 <#if article.getDDMStructureKey() == "36201" >
133 Vai all'evento
134 </#if>
135 <#if article.getDDMStructureKey() == "40616" >
136 Vai alla guida
137 </#if>
138 <#if article.getDDMStructureKey() == "20105633" >
139 Vai al progetto
140 </#if>
141 <#if article.getDDMStructureKey() == "20325527" >
142 Vai al piano
143 </#if>
144
145 <i class="far fa-arrow-right" aria-hidden="true"></i>
146 </a>
147 </div>
148 <#else>
149
150 <#assign ImmagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
151 <#assign ImmagineBannerTema = docXml.valueOf("//dynamic-element[@name='ImmagineBannerTema']/dynamic-content/text()") />
152 <#assign noBannerTema = "true" />
153
154 <#assign fileUrl = "" />
155 <#assign altImg = "" />
156
157 <#if ImmagineBannerTema?has_content>
158 <#assign json = jsonFactoryUtil.createJSONObject(ImmagineBannerTema) />
159 <#assign nameImg = json.getString("name") />
160 <#assign altImg = json.getString("alt") />
161 <#assign fileEntryId = json.getLong("fileEntryId") />
162 <#assign uuiD = json.getString("uuid") />
163 <#assign groupId = json.getLong("groupId") />
164
165 <#if fileEntryId != 0>
166 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
167 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
168 <#assign noBannerTema = "false" />
169 </#if>
170
171 </#if>
172
173 <#if ImmagineCopertina?has_content && fileUrl == "">
174 <#assign json = jsonFactoryUtil.createJSONObject(ImmagineCopertina) />
175 <#assign nameImg = json.getString("name") />
176 <#assign altImg = json.getString("alt") />
177 <#assign fileEntryId = json.getLong("fileEntryId") />
178 <#assign uuiD = json.getString("uuid") />
179 <#assign groupId = json.getLong("groupId") />
180
181 <#if fileEntryId != 0>
182 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
183 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
184
185 <#else>
186 <#if groupId != 0 && uuiD != "">
187 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
188 <#if fileEntry?? >
189 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
190
191 <#else>
192 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
193 </#if>
194 <#else>
195 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
196 </#if>
197
198 </#if>
199 <#elseif fileUrl == "">
200 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
201 </#if>
202
203 <div class="rt-campagna__image" aria-label="${altImg?html}" style="background-image: url('${fileUrl}');">
204
205 <a href="${rendererURL?html}" title="Vai alla campagna" aria-label="${curEntry.getTitle(locale)}" class="rt-btn">
206 <#if article.getDDMStructureKey() == "35834" >
207 Vai alla campagna
208 </#if>
209 <#if article.getDDMStructureKey() == "36201" >
210 Vai all'evento
211 </#if>
212 <#if article.getDDMStructureKey() == "40616" >
213 Vai alla guida
214 </#if>
215 <#if article.getDDMStructureKey() == "20105633" >
216 Vai al progetto
217 </#if>
218 <#if article.getDDMStructureKey() == "20325527" >
219 Vai al piano
220 </#if>
221
222 <i class="far fa-arrow-right" aria-hidden="true"></i>
223 </a>
224 </div>
225 </#if>
226 </section>
227 </div>
228 </div>
229 </#if>
230 </#if>
231 <#else>
232 <#if (entries?size == 2)>
233 <#assign colWrapper = "rt-wrapper--grid-2-col" />
234 <#elseif (entries?size >= 3)>
235 <#assign colWrapper = "rt-wrapper--grid-3-col" />
236 </#if>
237
238 <section class="container rt-content" id="content">
239 <div class="row">
240 <div class="col-md-12 portlet-column portlet-column-only" id="column-2">
241
242 <div class="rt-wrapper rt-wrapper--grid ${colWrapper}">
243 <#assign countArticle = 0 />
244 <#list entries as curEntry>
245 <#assign assetRenderer = curEntry.getAssetRenderer() />
246 <#assign className = assetRenderer.getClassName() />
247 <#assign rendererURL = siteBaseURL + "/-/" + assetRenderer.getUrlTitle() />
248 <#assign pageURL = "/" + assetRenderer.getUrlTitle() />
249
250 <#if className = "com.liferay.journal.model.JournalArticle" >
251 <#assign article = assetRenderer.getArticle() />
252 <#if article?? >
253
254 <#assign docXml = saxReaderUtil.read(article.getContent()) />
255
256 <#if article.getDDMStructureKey() == "40616" >
257 <#assign pageToRefer = docXml.valueOf("//dynamic-element[@name='PaginaGuida']/dynamic-content/text()") />
258 <#assign layoutSplitted = pageToRefer?split("@") />
259
260 <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) />
261 <#assign groupId = getterUtil.getLong(layoutSplitted[2]) />
262
263 <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) />
264
265 <#assign pageLink = siteBaseURL + layout.getFriendlyURL(locale) />
266 <#assign rendererURL = pageLink />
267 </#if>
268 <#if article.getDDMStructureKey() == "20105633" >
269 <#assign pageToRefer = docXml.valueOf("//dynamic-element[@name='PaginaProgetto']/dynamic-content/text()") />
270 <#assign layoutSplitted = pageToRefer?split("@") />
271
272 <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) />
273 <#assign groupId = getterUtil.getLong(layoutSplitted[2]) />
274
275 <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) />
276
277 <#assign pageLink = siteBaseURL + layout.getFriendlyURL(locale) />
278 <#assign rendererURL = pageLink />
279 </#if>
280 <#if article.getDDMStructureKey() == "20325527" >
281 <#assign pageToRefer = docXml.valueOf("//dynamic-element[@name='PaginaPiano']/dynamic-content/text()") />
282 <#assign layoutSplitted = pageToRefer?split("@") />
283
284 <#assign layoutId = getterUtil.getLong(layoutSplitted[0]) />
285 <#assign groupId = getterUtil.getLong(layoutSplitted[2]) />
286
287 <#assign layout = LayoutLocalServiceUtil.getLayout(groupId, false , layoutId) />
288
289 <#assign pageLink = siteBaseURL + layout.getFriendlyURL(locale) />
290 <#assign rendererURL = pageLink />
291 </#if>
292
293 <#if countArticle < 4>
294 <#assign countArticle = countArticle+1 />
295
296
297 <#assign ImmagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
298 <#assign ImmagineBannerTema = docXml.valueOf("//dynamic-element[@name='ImmagineBannerTema']/dynamic-content/text()") />
299 <#assign noBannerTema = "true" />
300
301 <#assign fileUrl = "" />
302 <#assign altImg = "" />
303
304 <#if ImmagineBannerTema?has_content>
305 <#assign json = jsonFactoryUtil.createJSONObject(ImmagineBannerTema) />
306 <#assign nameImg = json.getString("name") />
307 <#assign altImg = json.getString("alt") />
308 <#assign fileEntryId = json.getLong("fileEntryId") />
309 <#assign uuiD = json.getString("uuid") />
310 <#assign groupId = json.getLong("groupId") />
311
312 <#if fileEntryId != 0>
313 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
314 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
315 <#assign noBannerTema = "false" />
316 </#if>
317
318 </#if>
319
320 <#if ImmagineCopertina?has_content && fileUrl == "">
321 <#assign json = jsonFactoryUtil.createJSONObject(ImmagineCopertina) />
322 <#assign nameImg = json.getString("name") />
323 <#assign altImg = json.getString("alt") />
324 <#assign fileEntryId = json.getLong("fileEntryId") />
325 <#assign uuiD = json.getString("uuid") />
326 <#assign groupId = json.getLong("groupId") />
327
328 <#if fileEntryId != 0>
329 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
330 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
331
332 <#else>
333 <#if groupId != 0 && uuiD != "">
334 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
335 <#if fileEntry?? >
336 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
337
338 <#else>
339 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
340 </#if>
341 <#else>
342 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
343 </#if>
344
345 </#if>
346 <#elseif fileUrl == "">
347 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
348 </#if>
349
350 <div class="rt-box rt-box--has-image rt-box--campagna">
351 <div aria-label="${altImg?html}" style="background-image: url('${fileUrl?html}');" class="rt-box__image">
352
353 </div>
354
355 <div class="rt-box__text">
356 <#if curEntry.getTitle(locale)?? && curEntry.getTitle(locale) != "">
357 <div class="rt-box__title">
358 <a title="Vai a ${curEntry.getTitle(locale)?replace('"','"')}" aria-label="Vai a ${curEntry.getTitle(locale)?replace('"','"')}" href="${rendererURL}">
359 ${curEntry.getTitle(locale)}
360 </a>
361 </div>
362 </#if>
363 <div class="rt-box__button">
364 <a href="${rendererURL}" class="rt-btn" title="Scopri ${curEntry.getTitle(locale)}" aria-label="Scopri ${curEntry.getTitle(locale)}">
365 <#if article.getDDMStructureKey() == "35834" >
366 Scopri campagna
367 </#if>
368 <#if article.getDDMStructureKey() == "36201" >
369 Scopri l'evento
370 </#if>
371 <#if article.getDDMStructureKey() == "40616" >
372 Scopri la guida
373 </#if>
374 <#if article.getDDMStructureKey() == "20105633" >
375 Scopri il progetto
376 </#if>
377 <#if article.getDDMStructureKey() == "20325527" >
378 Scopri il piano
379 </#if>
380
381 <i aria-hidden="true" class="far fa-chevron-circle-right"></i>
382 </a>
383 </div>
384 </div>
385
386
387 </div>
388 <#else>
389 </div>
390 </div>
391 <div class="col-md-12 portlet-column portlet-column-only" id="column-3">
392 <div class="rt-wrapper rt-wrapper--grid-1-col">
393 <#assign countArticle = countArticle+1 />
394 <#assign docXml = saxReaderUtil.read(article.getContent()) />
395
396 <#assign fileUrl = "" />
397 <#assign altImg = "" />
398
399 <#assign ImmagineCopertina = docXml.valueOf("//dynamic-element[@name='ImmagineCopertina']/dynamic-content/text()") />
400 <#assign ImmagineBannerTema = docXml.valueOf("//dynamic-element[@name='ImmagineBannerTema']/dynamic-content/text()") />
401 <#assign noBannerTema = "true" />
402
403 <#if ImmagineBannerTema?has_content>
404 <#assign json = jsonFactoryUtil.createJSONObject(ImmagineBannerTema) />
405 <#assign nameImg = json.getString("name") />
406 <#assign altImg = json.getString("alt") />
407 <#assign fileEntryId = json.getLong("fileEntryId") />
408 <#assign uuiD = json.getString("uuid") />
409 <#assign groupId = json.getLong("groupId") />
410
411 <#if fileEntryId != 0>
412 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
413 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
414 <#assign noBannerTema = "false" />
415 </#if>
416
417 </#if>
418
419 <#if ImmagineCopertina?has_content && fileUrl == "">
420 <#assign json = jsonFactoryUtil.createJSONObject(ImmagineCopertina) />
421 <#assign nameImg = json.getString("name") />
422 <#assign altImg = json.getString("alt") />
423 <#assign fileEntryId = json.getLong("fileEntryId") />
424 <#assign uuiD = json.getString("uuid") />
425 <#assign groupId = json.getLong("groupId") />
426
427 <#if fileEntryId != 0>
428 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntry(fileEntryId) />
429 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
430
431 <#else>
432 <#if groupId != 0 && uuiD != "">
433 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuiD,groupId) />
434 <#if fileEntry?? >
435 <#assign fileUrl = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
436
437 <#else>
438 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
439 </#if>
440 <#else>
441 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
442 </#if>
443
444 </#if>
445 <#elseif fileUrl == "">
446 <#assign fileUrl = imagePath + "/campagna-placeholder.png" />
447 </#if>
448
449 <div class="rt-box rt-box--has-image rt-box--campagna">
450 <div aria-label="{altImg?html}" style="background-image: url('${fileUrl?html}');" class="rt-box__image">
451
452 </div>
453
454 <div class="rt-box__text">
455 <#if curEntry.getTitle(locale)?? && curEntry.getTitle(locale) != "">
456 <div class="rt-box__title">
457 <a title="Vai a ${curEntry.getTitle(locale)?replace('"','"')}" aria-label="Vai a ${curEntry.getTitle(locale)?replace('"','"')}" href="${rendererURL}">
458 ${curEntry.getTitle(locale)}
459 </a>
460 </div>
461 </#if>
462 <#assign titoloSecondario = docXml.valueOf("//dynamic-element[@name='TitoloSecondario']/dynamic-content/text()") />
463 <div class="rt-box__button">
464 <a href="${rendererURL}" class="rt-btn" title="Scopri ${curEntry.getTitle(locale)}" aria-label="Scopri ${curEntry.getTitle(locale)}">
465 <#if article.getDDMStructureKey() == "35834" >
466 Scopri campagna
467 </#if>
468 <#if article.getDDMStructureKey() == "36201" >
469 Scopri l'evento
470 </#if>
471 <#if article.getDDMStructureKey() == "40616" >
472 Scopri la guida
473 </#if>
474 <#if article.getDDMStructureKey() == "20105633" >
475 Scopri il progetto
476 </#if>
477 <#if article.getDDMStructureKey() == "20325527" >
478 Scopri il piano
479 </#if>
480
481 <i aria-hidden="true" class="far fa-chevron-circle-right"></i>
482 </a>
483 </div>
484 </div>
485 </div>
486 </#if>
487 </#if>
488 </#if>
489 </#list>
490 </#if>
491
492 </div>
493
494 </div>
495 </div>
496 </section>
497 </#if>