Garante regionale dei diritti delle persone sottoposte a misure restrittive della libertà personale - Arte e storia come strumenti di riscatto: otto detenuti in visita al MarTa
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#753777" at line 24, column 24] ----
1<#include "${templatesPath}/97289"/>
2<div class="marginBottom20">
3
4 <div class="marginBottom20">
5 <a class="fancybox" href="#dialogImg" title="${htmlUtil.escapeAttribute(.vars['reserved-article-title'].getData())}">
6 <img src="${foto.getData()}" alt="imgDettaglio" class="img-responsive contentImage"/>
7 </a>
8 <div id="dialogImg" style="width:400px; display:none">
9 <img src="${foto.getData()}" class="img-responsive"/>
10 </div>
11
12 </div>
13
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 <#if DataFine.getData()?has_content>
18 <#if DataFine.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")==DataInizio.getData()?date("yyyy-MM-dd")?string("dd/MM/yyyy")>
19 <b>Del </b>${DataInizio.getData()?date("yyyy-MM-dd")?string("dd/MM/yyy")}
20 <#else>
21 <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>
22 </#if>
23 <#else>
24 <b>Del </b>${DataInizio.getData()?date("yyyy-MM-dd")?string("dd/MM/yyy")}
25
26 </#if>
27 </div>
28
29 <div class="marginBottom20">
30 <h3>${titolo.getData()}</h3>
31 </div>
32 <div class="marginBottom20">
33 <section>
34 <article>
35 <p>
36${descrizione.getData()}
37 </p>
38 </article>
39 </section>
40 </div>
41</div>
42<#if Allegati?has_content && Allegati.getSiblings()?has_content && (Allegati.getSiblings()?first)?has_content && (Allegati.getSiblings()?first).getData()!=''>
43 <#assign documentFolderAndEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")>
44
45 <div>
46 <table class="grid table table-responsive" cellspacing="0" rules="all" border="1" id="cphMain_ucDettaglioContenuto_gvAllegati" style="display:table;width:100%;border-collapse:collapse;">
47 <tbody>
48 <tr>
49 <th class="text-center" scope="col" style="width:80%;">
50 Nome documento
51 </th>
52 <th class="text-center" scope="col" style="width:20%;">
53 Data
54 </th>
55 </tr>
56
57 <#list Allegati.getSiblings() as cur_Allegati>
58 <#if cur_Allegati?? && cur_Allegati.getData()?has_content && cur_Allegati.getData()!=''>
59 <#assign link=cur_Allegati.getData()?substring(1)?split("/")/>
60 <#assign groupId=themeDisplay.getScopeGroupId()/>
61 <#assign uuid=link[4]?split("?")?first/>
62 <#assign file=documentFolderAndEntryLocalService.getFileEntryByUuidAndGroupId(uuid,groupId)/>
63 <#assign icon = getIconFromMime(file.getMimeType())/>
64 <#assign fileSizeHuman = getFileSizeHuman(file.getSize())/>
65 <tr>
66 <td>
67 <a href="/documents/${file.getGroupId()}/${file.getFolderId()}/${file.getTitle()}/${file.getUuid()}?download=true"><i class="fa ${icon}"></i> ${file.getFileName()}</a>
68 <div>(dimensione:${fileSizeHuman})</div>
69 <p>${file.getDescription()}</p>
70
71 </td>
72 <td class="text-center">
73 ${file.getCreateDate()?string("dd/MM/yyyy")}
74 </td>
75 </tr>
76 </#if>
77 </#list>
78
79 </tbody>
80 </table>
81 </div>
82
83<#else>
84<@showAllegati/>
85</#if>