Garante dei Diritti del Minore - Legalitria riparte da Taranto, riflettori accesi sulle carceri
Si è verificato un errore nell'elaborarazione del modello.
The string doesn't match the expected date/time/date-time format. The string to parse was: "". The expected format was: "yyyy-MM-dd". The nested reason given follows: Unparseable date: "" ---- FTL stack trace ("~" means nesting-related): - Failed at: ${DataInizio.getData()?date("yyyy-MM-... [in template "20101#20128#741401" at line 26, column 52] ----
1<#include "${templatesPath}/103131"/>
2<#assign categories=getCategoriesOfArticle()/>
3<div class="marginBottom20">
4
5<div class="marginBottom20">
6 <a class="fancybox" href="#dialogImg" title="${htmlUtil.escapeAttribute(.vars['reserved-article-title'].getData())}">
7 <img src="${foto.getData()}" alt="imgDettaglio" class="img-responsive contentImage"/>
8 </a>
9 <div id="dialogImg" style="width:400px; display:none">
10 <img src="${foto.getData()}" class="img-responsive"/>
11 </div>
12
13 </div>
14
15<!-- <img style="padding: 5px;max-height: 300px;border: 1px solid #ded7d7;" align="left" src="${foto.getData()}" class="mr-3 mt-1 "/>-->
16
17
18
19 <#if DataFine.getData()?has_content>
20 <#if DataInizio.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")==DataFine.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")>
21 <b>Del</b> ${DataInizio.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")}
22 <#else>
23 <b>Dal</b> ${DataInizio.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")} <b>al</b> ${DataFine.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")}</label>
24 </#if>
25 <#else>
26 <b>Del</b> ${DataInizio.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")}
27 </#if>
28 </div>
29
30 <#if categories?size!=0>
31 <h6 class="tipologia">${categories?first}</h6>
32 </#if>
33
34
35 <div class="marginBottom20">
36 <h3>${titolo.getData()}</h3>
37 </div>
38 <div class="marginBottom20">
39 <section>
40 <article>
41 <p>
42${descrizione.getData()}
43 </p>
44 </article>
45 </section>
46 </div>
47</div>
48<#if Allegati?has_content && Allegati.getSiblings()?has_content && (Allegati.getSiblings()?first)?has_content && (Allegati.getSiblings()?first).getData()!=''>
49 <#assign documentFolderAndEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")>
50
51 <div>
52 <table class="grid table table-responsive" cellspacing="0" rules="all" border="1" id="cphMain_ucDettaglioContenuto_gvAllegati" style="display:table;width:100%;border-collapse:collapse;">
53 <tbody>
54 <tr>
55 <th class="text-center" scope="col" style="width:80%;">
56 Nome documento
57 </th>
58 <th class="text-center" scope="col" style="width:20%;">
59 Data
60 </th>
61 </tr>
62
63 <#list Allegati.getSiblings() as cur_Allegati>
64 <#if cur_Allegati?? && cur_Allegati.getData()?has_content && cur_Allegati.getData()!=''>
65 <#assign link=cur_Allegati.getData()?substring(1)?split("/")/>
66 <#assign groupId=themeDisplay.getScopeGroupId()/>
67 <#assign uuid=link[4]?split("?")?first/>
68 <#assign file=documentFolderAndEntryLocalService.getFileEntryByUuidAndGroupId(uuid,groupId)/>
69 <#assign icon = getIconFromMime(file.getMimeType())/>
70 <#assign fileSizeHuman = getFileSizeHuman(file.getSize())/>
71 <tr>
72 <td>
73 <a href="/documents/${file.getGroupId()}/${file.getFolderId()}/${file.getTitle()}/${file.getUuid()}?download=true"><i class="fa ${icon}"></i> ${file.getFileName()}</a>
74 <div>(dimensione:${fileSizeHuman})</div>
75 <p>${file.getDescription()}</p>
76
77 </td>
78 <td class="text-center">
79 ${file.getCreateDate()?string("dd/MM/yyyy")}
80 </td>
81 </tr>
82 </#if>
83 </#list>
84
85 </tbody>
86 </table>
87 </div>
88
89<#else>
90<@showAllegati/>
91</#if>