Asset Publisher

Nouvelles mesures sanitaires

01
09
Nouvelles mesures sanitaires
01 sept. 2021

Nouvelles mesures sanitaires
Mesures en vigueur au 1er septembre 2021.

Télécharger le document

Asset Publisher

An error occurred while processing the template.
The string doesn't match the expected date/time/date-time format. The string to parse was: "13 Jun 2023 14:46:00". The expected format was: "d MMM yyyy HH:mm:ss".
The nested reason given follows:
Unparseable date: "13 Jun 2023 14:46:00"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if .now?datetime lte expirationDate?...  [in template "20099#20135#746979" at line 19, column 13]
----
1<#assign dateFormat = "d MMM yyyy HH:mm:ss" /> 
2 
3<div class="row"> 
4<#if entries?has_content> 
5    <#list entries as curEntry> 
6        <#assign 
7            assetRenderer = curEntry.getAssetRenderer() 
8        /> 
9        <#if curEntry.getExpirationDate()??> 
10            <#assign expirationDate = dateUtil.getDate(curEntry.getExpirationDate(), dateFormat, locale) /> 
11        </#if> 
12        <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
13 
14        <#if assetLinkBehavior != "showFullContent"> 
15            <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
16        </#if> 
17         
18        <#if curEntry.getExpirationDate()??> 
19            <#if .now?datetime lte expirationDate?datetime> 
20                <div class="col-12 pb-3"> 
21                    <div class="card"> 
22                        <@liferay_asset["asset-display"] 
23                            assetEntry=curEntry 
24                            assetRenderer=assetRenderer 
25                            showExtraInfo=false /> 
26                            <div class="card-read-more mr-4 mt-2"> 
27                                <a href="${viewURL}">Lire la suite...</a> 
28                            </div> 
29                    </div> 
30                </div> 
31            </#if> 
32        <#else> 
33            <div class="col-12 pb-3"> 
34                <div class="card"> 
35                    <@liferay_asset["asset-display"] 
36                        assetEntry=curEntry 
37                        assetRenderer=assetRenderer 
38                        showExtraInfo=false /> 
39                        <div class="card-read-more mr-4 mt-2"> 
40                            <a href="${viewURL}">Lire la suite...</a> 
41                        </div> 
42                </div> 
43            </div> 
44        </#if> 
45    </#list> 
46<#else> 
47    <div class="col-12 text-center">Aucun évènements.</div> 
48</#if> 
49</div> 

marees Portlet

10h55
23h34
04h37
17h08
Retrouvez le dernier bulletin :


Télécharger