Sede, Centro Operativo e Centro Servizi
[data di modifica non visibile in frontend. Per visualizzarla usa il browser della pagina, seleziona l'elemento "Data di modifica". Dalle sue proprietà (pannello di destra) abilita il checkbox "Mostra data di ultima modifica"]
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> cur_Image.getAttribute("fileEntryId") [in template "37501#37531#96323" at line 124, column 24]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign fileEntryId = cur_Image.getAt... [in template "37501#37531#96323" at line 124, column 1]
----
1<#--
2Web content templates are used to lay out the fields defined in a web
3content structure.
4
5Please use the left panel to quickly add commonly used variables.
6Autocomplete is also available and can be invoked by typing "${".
7-->
8<style>
9.image-gallery .description {font-size:0.8em;margin: 15px 0}
10
11.gallery-back-url{margin-bottom:20px}
12
13body #content .gallery-back-url a.cta{display:flex !important;gap:10px;align-items:center;transition: 0.3 ease}
14.gallery-back-url .icona{ width:38px;height:38px;border:solid 1px var(--colors-neutral-mid-dark);border-radius:2px;display:flex;align-items:center;justify-content:center;}
15
16body #content .gallery-back-url a:after,
17body #content a.download:after
18{
19content:unset !important}
20
21body #content .gallery-back-url a:hover .icona{
22border-color:black;
23}
24
25.gallery-back-url a svg {
26
27
28}
29
30.gallery-back-url a:hover svg{
31
32}
33
34.image-gallery .thumb {
35 background-size:cover;
36 width:100%;
37 padding-top:70%;
38 position:relative;
39}
40
41.image-gallery .thumb .expand {
42 background-color:#0FA538;
43 /*border:solid 1px #BABBBD;*/
44 background-size:80%;
45 background-repeat: no-repeat;
46 background-position:center;
47 background-image: url("data:image/svg+xml,%3Csvg class='svg-icon' style='width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M670.165333 414.165333l135.338667-135.338666L896 369.322667V128h-241.322667l90.496 90.496-135.338666 135.338667z m75.008 391.338667L654.677333 896H896v-241.322667l-90.496 90.496-135.338667-135.338666-60.330666 60.330666z m-391.338666-195.669333l-135.338667 135.338666L128 654.677333V896h241.322667l-90.496-90.496 135.338666-135.338667zM278.826667 218.496L369.322667 128H128v241.322667l90.496-90.496 135.338667 135.338666 60.330666-60.330666z' fill='white' /%3E%3C/svg%3E");
48 width:40px;
49 height:40px;
50 position:absolute;
51 left:0px;
52 bottom:0px;
53 font-size:35px;
54 cursor:pointer;
55}
56
57.image-gallery .thumb .download {
58 background-color:#0FA538;
59 /*border:solid 1px #BABBBD;*/
60 width:40px;
61 height:40px;
62 border-radius:2px;
63 position:absolute;
64 left: 15px;
65 bottom: 8px;
66 text-align: center;
67 font-size: 30px;
68 line-height: 30px;
69 padding-top: 5px;
70 color: black;
71 text-decoration: none;
72 background-size:50%;
73 background-repeat: no-repeat;
74 background-position:center;
75 background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg width='16px' height='16px' viewBox='0 0 16 16' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect width='16' height='16' id='icon-bound' fill='none' /%3E%3Cpath d='M12.706,8.294l-1.416-1.416L9,9.172V0H7v9.172L4.706,6.878L3.291,8.294L8,13L12.706,8.294z M16,14H0v2h16V14z' fill='white' /%3E%3C/svg%3E%0A");
76}
77
78.image-gallery .description {
79 height:40px;
80 margin-bottom:30px;
81 text-overflow: ellipsis;
82 display: -webkit-box;
83 -webkit-line-clamp: 2;
84 -webkit-box-orient: vertical;
85 overflow: hidden;
86}
87
88.asset-full-content > .separator,
89.asset-full-content > .asset-details{ display:none}
90
91</style>
92
93
94
95<#if Image.getSiblings()?has_content>
96<#--
97<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() />
98<#assign themeDisplay = serviceContext.getThemeDisplay() />
99<#assign previousUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() />
100<#list previousUrl?split("/-/") as sValue>
101<#if sValue?index = 0>
102 <#assign previousUrl = sValue/>
103</#if>-->
104
105<div class="gallery-back-url">
106<#assign returnLink = paramUtil.getString(request,"redirect","")/>
107 <#if (returnLink != "")>
108 <a href="${returnLink}" class="cta cta-left">
109 <div class="icona"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
110 <path d="M1.7549 4.52755L5.29791 0.705235L4.64397 4.68239e-07L4.37957e-07 5.00964L4.62737 10L5.28131 9.29477L1.78619 5.52548L9.99808 5.50964L10 4.51171L1.7549 4.52755Z" fill="#001933"/>
111</svg></div> Torna alla pagina precedente</a>
112 <#else>
113 <a href="javascript:history.back()" class="cta cta-left">
114 <div class="icona"><svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none">
115 <path d="M1.7549 4.52755L5.29791 0.705235L4.64397 4.68239e-07L4.37957e-07 5.00964L4.62737 10L5.28131 9.29477L1.78619 5.52548L9.99808 5.50964L10 4.51171L1.7549 4.52755Z" fill="#001933"/>
116</svg></div> Torna alla pagina precedente</a>
117 </#if>
118</div>
119
120<div class="row image-gallery">
121 <#list Image.getSiblings() as cur_Image>
122 <div class="col-lg-4 col-xl-3 col-sm-6 col-4 col-md-6 col-xs-12" >
123
124<#assign fileEntryId = cur_Image.getAttribute("fileEntryId")?number />
125
126<#assign dlAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppLocalService") />
127<#assign fileEntry = dlAppService.getFileEntry(fileEntryId) />
128<#assign fileName = fileEntry.getFileName() />
129
130<#assign thumbURL = "/o/adaptive-media/image/" + fileEntryId + "/Thumbnail-300x300/" + fileName />
131
132
133 <#if (cur_Image.getData())?? && cur_Image.getData() != "">
134 <div class="thumb" style="background-image:url('${thumbURL}')">
135 <!--a class="expand" href="${cur_Image.getData()}" data-fancybox="gallery" data-caption="${cur_Image.ImageDescription.getData()}"></a-->
136
137 <a href="${cur_Image.getData()}" download class="download"></a>
138 </div>
139 <div class="description">${cur_Image.ImageDescription.getData()}</div>
140 </#if>
141 </div>
142 </#list>
143 </div>
144
145</#if>









