World accessibility day - Toscana Accessibile
Une erreur s'est produite lors du traitement du gabarit.
The string doesn't match the expected date/time/date-time format. The string to parse was: "mar, 23 gen 2024 16:15:02 +0100". The expected format was: "EEE, dd MMM yyyy". The nested reason given follows: Unparseable date: "mar, 23 gen 2024 16:15:02 +0100" ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign display_date = modifiedDate?d... [in template "10155#10195#7830626" at line 95, column 9] ----
1<#setting time_zone=timeZone.ID>
2<#setting locale=locale.toString()>
3<#setting datetime_format="dd MMMM yyyy">
4
5<div id="pagina-argomento" class="assets-news-container container-fluid">
6
7 <#assign plid = themeDisplay.getLayout().getPlid() />
8 <#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
9
10 <#assign currentLayout = layoutLocalService.getLayout(plid?number?long) />
11 <#assign listAncestors = currentLayout.getAncestors() />
12 <#assign parentCurrentLayout = "" />
13
14 <#if currentLayout.isRootLayout()>
15 <#assign icona = currentLayout.getExpandoBridge().getAttribute("icona") />
16 <#assign colore = currentLayout.getExpandoBridge().getAttribute("colore-icona") />
17 <#else>
18 <#assign parentCurrentLayout = layoutLocalService.getLayout(currentLayout.getParentPlid()) />
19 <#assign num = (listAncestors?size -2) />
20 <#assign icona = currentLayout.getExpandoBridge().getAttribute("icona") />
21 <#assign colore = currentLayout.getExpandoBridge().getAttribute("colore-icona") />
22 </#if>
23
24 <script type="text/javascript">
25 $(document).ready(function() {
26 $( '<style type="text/css">.portlet-navigation .nav-menu li a.active{border-left: 5px solid ${colore};background-color: white}</style>' ).appendTo( "head" );
27
28 var size = $(".titolo-argomento").height();
29 if (size > 100){
30 $(".titolo-argomento").css('line-height','1');
31 }
32
33 var iconClass = $(".journal-content-article .icona-argomento").attr("class");
34 $(".nav-pills > li > a").before('<span id="icona-argomento" class="'+iconClass+'"></span>')});
35 </script>
36
37 <div class="table">
38 <div class="row-table">
39 <#if icona?has_content >
40 <div class="cell-table min-width-table"><span class="icona-argomento circle-block rt-icon-${icona}"></span></div>
41 </#if>
42 <div class="cell-table"><h1 class="title titolo-argomento">${.vars['reserved-article-title'].data}</h1> </div>
43 </div>
44 </div>
45
46 <#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
47 <#assign journalArticleId = .vars['reserved-article-id'].data />
48 <#assign article = JournalArticleLocalService.getArticle(groupId, journalArticleId) />
49 <#assign AssetEntryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil"] />
50 <#assign entry = AssetEntryLocalServiceUtil.fetchEntry("com.liferay.journal.model.JournalArticle", article.resourcePrimKey) />
51 <#assign DLFileEntryLocalServiceUtil = staticUtil["com.liferay.document.library.kernel.service.DLFileEntryLocalServiceUtil"] />
52
53 <#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContent()) />
54 <#assign immagine = docXml.valueOf("//dynamic-element[@name='Immagine']/dynamic-content/text()") />
55
56
57
58
59 <#if Immagine.getData() != "" >
60 <img class="img-top img-responsive" alt="${Immagine.getAttribute("alt")}" data-fileentryid="${Immagine.getAttribute("fileEntryId")}" src="${Immagine.getData()}" />
61
62 <#else>
63 <#if immagine != "">
64 <#assign json = jsonFactoryUtil.createJSONObject(immagine) />
65 <#assign uuid = json.getString("uuid") />
66 <#assign groupIdScopedd = themeDisplay.getLayout().getGroup().getGroupId() />
67
68 <#assign fileEntry = DLFileEntryLocalServiceUtil.getFileEntryByUuidAndGroupId(uuid,groupIdScopedd) />
69 <#assign fileUrl2 = "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() + "/" + fileEntry.getUuid() />
70 <img class="img-top img-responsive" alt="${fileEntry.getTitle()}" src="${fileUrl2}" />
71 </#if>
72
73 </#if>
74
75
76 <#if IdVideoYoutube.getData() != "" >
77 <div class="video">
78 <iframe width="460" height="315" src="https://www.youtube-nocookie.com/embed/${IdVideoYoutube.getData()}" allowfullscreen style="width: 100%; border:0">
79
80 </iframe>
81 </div>
82 </#if>
83
84 <#if Sottotitolo.getData() != "" >
85 <h4 style="padding: 15px 0 10px 0;font-weight: normal;font-style: italic;text-align: justify;">${Sottotitolo.getData()}</h4>
86 </#if>
87
88 <#if Contenuto.getData() != "" >
89 <div class="contenuto">${Contenuto.getData()}</div>
90 </#if>
91
92 <div class="pull-right text-right" style="margin: 15px 0;">
93 <i>Article ID: # ${.vars['reserved-article-id'].data}</i> <br/>
94 <#assign modifiedDate = .vars['reserved-article-modified-date'].data />
95 <#assign display_date = modifiedDate?datetime("EEE, dd MMM yyyy") />
96 <#assign display_date = display_date?string["dd.MM.yyyy"] />
97 <i>Ultimo aggiornamento: ${display_date}</i>
98 </div>
99
100 <div class="clearfix"></div>
101
102
103
104 <div class="post-social pull-right">
105 <div class="condividi text-uppercase">Condividi</div>
106 <ul class="inline">
107 <li>
108 <a class="fb_share" href="" title="Condividi su Facebook">
109 <span class="hide">Condividi su Facebook</span>
110 <span class="icon-stack" >
111 <i class="icon-circle icon-stack-base"></i>
112 <i class="icon-facebook icon-light"></i>
113 </span>
114 </a>
115 </li>
116 <li>
117 <a class="gplus" href="" title="Condividi su google plus">
118 <span class="hide">Condividi su google plus</span>
119 <span class="icon-stack" >
120 <i class="icon-circle icon-stack-base"></i>
121 <i class="icon-google-plus icon-light"></i>
122 </span>
123 </a>
124 </li>
125 <li>
126 <a class="tweet" href="" title="Condividi su twitter">
127 <span class="hide">Condividi su twitter</span>
128 <span class="icon-stack" >
129 <i class="icon-circle icon-stack-base"></i>
130 <i class="icon-twitter icon-light"></i>
131 </span>
132 </a>
133 </li>
134 </ul>
135 </div>
136 <div class="clearfix"></div>
137
138 <#if PagineAllegate?? && MostraPagineAllegate?has_content >
139 <#if getterUtil.getBoolean(MostraPagineAllegate.getData()) >
140 <#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
141
142
143 <h3 class="subtitle text-uppercase">Approfondimenti</h3>
144 <div class="table tabella-allegati">
145
146 <#list PagineAllegate.getSiblings() as cur_Pagina>
147 <#if validator.isNotNull(cur_Pagina.getData()) >
148 <#assign currentLayout = layoutLocalService.getLayout(getterUtil.getLong(groupId),false,getterUtil.getLong(cur_Pagina.getData())) />
149 <a href="${cur_Pagina.getFriendlyUrl()}"></a>
150 <div class="row-table attachments">
151 <div class="cell-table min-width-table"><i class="icon-circle-arrow-right icon-2x"></i></div>
152 <div class="cell-table"><a href="${cur_Pagina.getFriendlyUrl()}">${currentLayout.getName()}</a></div>
153 </div>
154 </#if>
155 </#list>
156 </div>
157 </#if>
158 </#if>
159
160 <#if Documenti.getSiblings()?has_content >
161
162 <#list Documenti.getSiblings() as cur_Allegati>
163
164 <#if cur_Allegati?has_content && cur_Allegati.getData() != "">
165
166 <#if cur_Allegati?is_first>
167 <h3 class="subtitle text-uppercase">Documenti Allegati</h3>
168 <div class="table tabella-allegati">
169 </#if>
170
171 <#assign groupId = "" >
172 <#assign uuId = "" >
173
174 <#assign counter = 0 >
175
176 <#list "${cur_Allegati.getData()}"?split("/") as x>
177 <#if counter == 2>
178 <#assign groupId = x?number?long >
179 </#if>
180
181 <#if counter == 5>
182 <#assign uuId = x?split("?")[0] >
183 </#if>
184
185 <#assign counter = counter+1 >
186 </#list>
187
188 <#assign file = DLFileEntryLocalServiceUtil.getDLFileEntryByUuidAndGroupId(uuId, groupId) />
189
190 <div class="row-table attachments">
191 <div class="cell-table min-width-table">
192 <i class="icon-file icon-2x"></i>
193 </div>
194 <div class="cell-table">
195 <a href="${cur_Allegati.getData()}" target="_blank"> ${file.fileName}</a>
196 </div>
197
198 </div>
199
200 <#if cur_Allegati?is_last>
201 </div>
202 </#if>
203 </#if>
204 </#list>
205 </#if>
206
207<#assign jsPath = themeDisplay.getTheme().getContextPath() + themeDisplay.getTheme().getJavaScriptPath() + "/" />
208
209
210
211
212
213<#assign jsPath = themeDisplay.getTheme().getContextPath() + themeDisplay.getTheme().getJavaScriptPath() + "/" />
214<#assign DLFileEntryLocalServiceUtil = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryLocalService') />
215
216
217
218
219
220
221 <#if (Photogallery?? && Photogallery.getData()?has_content) && Photogallery.getData()!="">
222
223
224 <#assign count = 0 />
225 <#list Photogallery.getSiblings() as cur_Immaginegalleria>
226
227 <#if cur_Immaginegalleria?is_first>
228 <h3 class="subtitle text-uppercase">Galleria Fotografica</h3>
229 <!-- SEZIONE GALLERIA -->
230 <div id="gallery-div">
231 <!-- Gallery -->
232 <ul class="dsu-gallery dsu-grid">
233 </#if>
234
235 <#if cur_Immaginegalleria?? && cur_Immaginegalleria.getData()?? && cur_Immaginegalleria.getData() != "">
236 <#assign altImage = "Immagine dell'articolo"/>
237
238 <#if cur_Immaginegalleria.getAttribute("alt")?? >
239 <#assign altImage = cur_Immaginegalleria.getAttribute("alt") />
240 </#if>
241 <li class="dsu-gallery__item">
242 <a data-lightbox="galleria1" data-title="${altImage}" href="${cur_Immaginegalleria.getData()}">
243 <img alt="${altImage}" src="${cur_Immaginegalleria.getData()}">
244 </a>
245 </li>
246 </#if>
247 <#assign count = (count + 1) />
248 <#if cur_Immaginegalleria?is_last>
249 </ul>
250 </div>
251 </#if>
252 </#list>
253
254 <script>
255 $(document).ready(function(){
256 $('.dsu-gallery').slick({infinite: true, slidesToShow: ${count}});
257 });
258 </script>
259
260 <style>
261
262 li.dsu-gallery__item.slick-slide.slick-active {
263 height: 85px;
264 }
265
266 #gallery-div {
267 border: 1px solid #ececec;
268 padding: 2em 3em 2em 3em;
269 background-color: #e6e6e6;
270 }
271
272 ul.dsu-gallery.dsu-grid {
273 padding-left: 0;
274 }
275
276 </style>
277
278 </#if>