An error occurred while processing the template.
The following has evaluated to null or missing: ==> imgClass [in template "10110#2640274#72789502" at line 194, 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: ${imgClass} [in template "10110#2640274#72789502" at line 194, column 22] ----
1<style>
2 .${randomNamespace} {
3 height: 510px;
4 background-color: #007CB1;
5 margin: 0;
6 }
7 .${randomNamespace} .banner-date {
8 color: #717171;
9 font-size: 16px;
10 font-weight: 400;
11 background-color: #FFF;
12 padding: 12px 24px;
13 border-radius: 40px;
14 margin-bottom: 32px;
15 display: inline-block;
16 }
17 .${randomNamespace} .banner-title {
18 font-size: 48px;
19 font-weight: 300;
20 color: #fff;
21 display: flex;
22 align-self: stretch;
23 }
24 .${randomNamespace}container .content-article, .${randomNamespace}container .article-details{
25 margin-top: 64px;
26 margin-bottom: 64px;
27 }
28 .${randomNamespace}container .news-article-abstract {
29 color: #000;
30 font-size: 16px;
31 font-weight: 400;
32 }
33 .${randomNamespace}container .base-article-content h3 {
34 color: #007CB1;
35 text-edge: cap;
36 font-size: 32px;
37 font-weight: 400;
38 }
39 .${randomNamespace}container .base-article-content {
40 color: #000;
41 font-size: 16px;
42 font-weight: 400;
43 }
44 .${randomNamespace}container .img1-container {
45 width: 706px;
46 border-radius: 8px;
47 margin-right: 8px;
48 }
49 .img-container {
50 width: 587px;
51 height: 453px;
52 }
53 .${randomNamespace}container img {
54 border-radius: 8px;
55 }
56 .${randomNamespace}container .img1-container,
57 .${randomNamespace}container .img2-container {
58 flex-shrink: 0;
59 border-radius: 8px;
60 height: 700px;
61 }
62 .${randomNamespace}container .img2-container {
63 width: 468px;
64 flex-shrink: 0;
65 border-radius: 8px;
66 }
67 .${randomNamespace}container .double-banner{
68 display: flex;
69 align-items: center;
70 margin-top:64px;
71 margin-bottom: 128px;
72 }
73 .${randomNamespace}container .container-attachments-title, .${randomNamespace}container .container-links-title {
74 display: flex;
75 justify-content: center;
76 align-items: center;
77 color: #000;
78 font-size: 48px;
79 font-weight: 300;
80 margin-bottom: 48px;
81 }
82 .${randomNamespace}container .attachment-container{
83 display: flex;
84 height: 150px;
85 padding: 32px;
86 justify-content: flex-start;
87 align-items: center;
88 border-radius: 8px;
89 border: 1px solid #E7E7E7;
90 margin-bottom: 64px;
91 }
92 .${randomNamespace}container .links-container {
93 display: flex;
94 width: 522px;
95 height: 150px;
96 padding: 32px;
97 justify-content: center;
98 align-items: center;
99 border-radius: 8px;
100 border: 1px solid #E7E7E7;
101 margin-bottom: 128px;
102 flex-grow: 1;
103 margin-right: 8px;
104 }
105 .${randomNamespace}container .attachment-link {
106 width: 50px;
107 height: 50px;
108 border-radius: 40px;
109 background-color: #007CB1;
110 background-image: url('xxxx');
111 background-position: center center;
112 background-repeat: no-repeat;
113 background-size: 24px 24px;
114 }
115 .${randomNamespace}container .external-link {
116 display: flex;
117 justify-content: center;
118 align-items: center;
119 font-size: 24px;
120 width: 50px;
121 height: 50px;
122 border-radius: 40px;
123 background-color: #007CB1;
124 background-size: 24px 24px;
125 }
126 .${randomNamespace}container .row-links {
127 display: flex;
128 justify-content: space-between;
129 gap: 8px;
130 width: 100%;
131 margin: 0 auto;
132 }
133 .${randomNamespace}container .links-container:last-child {
134 margin-right: 0;
135 }
136 @media (max-width: 991px) {
137 .${randomNamespace}container .img1-container, .${randomNamespace}container .img2-container {
138 width: 344px;
139 height: auto;
140 }
141 .${randomNamespace}container .img1-container {
142 margin-bottom: 8px;
143 }
144 .${randomNamespace}container .img-container {
145 margin-bottom: 32px;
146 border-radius: 8px;
147 height: 265px;
148 }
149 .${randomNamespace}container .attachment-container {
150 margin-bottom: 8px;
151 }
152 .${randomNamespace}container .links-container {
153 margin-bottom: 8px;
154 }
155 .${randomNamespace}container .double-banner{
156 margin-bottom: 64px;
157 }
158 .${randomNamespace}container .container-attachments-title, .${randomNamespace}container .container-links-title {
159 display: flex;
160 font-size: 36px;
161 font-weight: 300;
162 margin-bottom: 24px;
163 }
164 .${randomNamespace}container .custom-attachments-container {
165 margin-bottom:64px;
166 }
167 }
168</style>
169<div class="${randomNamespace} container-fluid w-100 px-0 d-flex flex-column align-items-center justify-content-center">
170 <div class="position-absolute text-center">
171 <#assign Header_Date_Data = getterUtil.getString(Header.Date.getData())>
172 <#if validator.isNotNull(Header_Date_Data)>
173 <#assign Header_Date_DateObj = dateUtil.parseDate("yyyy-MM-dd", Header_Date_Data, locale)>
174 <div class="banner-date">${dateUtil.getDate(Header_Date_DateObj, "dd MMMM yyyy", locale)}</div>
175 </#if>
176 <div class="banner-title">${Header.Title.getData()}</div>
177 </div>
178</div>
179<div class="${randomNamespace}container container news-container">
180 <div class="content-article">
181 <#if Abstract.getData()?trim?has_content>
182 <div class="news-article-abstract">${Abstract.getData()}</div>
183 </#if>
184 </div>
185 <#if ImagePosition?? && (ImagePosition.getData() != "" && ImagePosition.getData() == "opzione93795976")> <!--right -->
186 <#assign imgClass = "col-12 col-lg-6 order-2 pl-3 text-right" />
187 <#assign contentClass = "col-12 col-lg-6 order-1" />
188 <#elseif ImagePosition?? && (ImagePosition.getData() != "" && ImagePosition.getData() == "opzione16176523")> <!--left -->
189 <#assign imgClass = "col-12 col-lg-6 order-1 pr-3 text-left" />
190 <#assign contentClass = "col-12 col-lg-6 order-2" />
191 </#if>
192 <div class="container article-details">
193 <div class="row">
194 <div class="${imgClass} img-container">
195 <#if Image.getData()?? && Image.getData() != "">
196 <img src="${Image.getData()}">
197 </#if>
198 </div>
199 <#if Content.getData()?trim?has_content>
200 <div class="${contentClass}">
201 <div class="base-article-content">${Content.getData()}</div>
202 <#if (LinkText.getData())?? && LinkText.getData() != "" && (PageLink.getData())??>
203 <a data-senna-off="true" class="article-link" href="${PageLink.getFriendlyUrl()}">${LinkText.getData()}</a>
204 </#if>
205 </div>
206 </#if>
207 </div>
208 </div>
209 <div class="container base-article-content">
210 <#if LongContent.getData()?trim?has_content>
211 <div class="news-article-long-content">${LongContent.getData()}</div>
212 </#if>
213 </div>
214 <#if Img1.getData()?? && Img1.getData() != "" || Img2.getData()?? && Img2.getData() != "">
215 <div class="container double-banner">
216 <div class="row flex-column flex-lg-row">
217 <#if Img1.getData()?? && Img1.getData() != "">
218 <div class="img1-container">
219 <img src="${Img1.getData()}">
220 </div>
221 </#if>
222 <#if Img2.getData()?? && Img2.getData() != "">
223 <div class="img2-container">
224 <img src="${Img2.getData()}">
225 </div>
226 </#if>
227 </div>
228 </div>
229 </#if>
230 <#if Attachments.getSiblings()?has_content>
231 <div class="container custom-attachments-container">
232 <#list Attachments.getSiblings() as cur_Attachments>
233 <#if cur_Attachments.TitleAttachment.getData()?trim != "">
234 <div class="container-attachments-title">${Attachments.getName()}</div>
235 <div class="attachment-container d-flex justify-content-between align-items-center">
236 <div class="attachment-title">${cur_Attachments.TitleAttachment.getData()}</div>
237 <a class="attachment-link" href="${cur_Attachments.UrlAttachment.getData()}" target="_blank"></a>
238 </div>
239 </#if>
240 </#list>
241 </div>
242 </#if>
243 <#if Link.getSiblings()?has_content>
244 <div class="container custom-links-container">
245
246 <#list Link.getSiblings() as cur_Link>
247 <#if cur_Link.TitleLink.getData()?trim != "">
248
249 <div class="container-links-title">${Link.getName()}</div>
250 <div class="row row-links">
251
252 <div class="links-container d-flex justify-content-between align-items-center">
253 <div class="link-title">${cur_Link.TitleLink.getData()}</div>
254 <a class="external-link" style="color:white !important;" href="${cur_Link.UrlLink.getData()}" target="_blank">></a>
255 </div>
256
257
258 </div>
259 </#if>
260 </#list>
261 </div>
262 </#if>
263
264</div>