Um erro ocorreu enquanto processava o modelo.
Failed to "?eval" string with this error: ---begin-message--- Syntax error in ?eval-ed string in line 1, column 132: Lexical error: encountered "u" (117), after "\"PROGRAMA\u00c7\u00c3O DO SEMIN\u00c1RIO \\". ---end-message--- The failing expression: ==> extraContent.getData()?eval [in template "20116#20152#70212" at line 231, column 30] ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign article = extraContent.getDat... [in template "20116#20152#70212" at line 231, column 11] ----
1<#assign hasVideoGallery = false />
2<#assign hasImageGallery = false />
3
4<#assign dateStart = services.dateStart.data>
5<#assign dateEnd = services.dateEnd.data>
6
7<#assign originalLocale = .locale>
8<#setting locale = localeUtil.getDefault()>
9
10<#assign dateStart = dateStart?datetime("yyyy-MM-dd")>
11<#assign dateEnd = dateEnd?datetime("yyyy-MM-dd")>
12
13<#assign locale = originalLocale>
14
15<div class="news-event">
16 <div class="news-events__main-content">
17
18 <time class="news-events__time" datetime="${dateStart}">
19 <#if dateStart == dateEnd>
20
21 ${dateStart?string["d MMMM yyyy"]}
22
23 <#elseif dateStart?string["MMMM yyyy"] == dateEnd?string["MMMM yyyy"]>
24
25 De ${dateStart?string["d"]} a ${dateEnd?string["d MMMM yyyy"]}
26
27 <#elseif dateStart?string["yyyy"] == dateEnd?string["yyyy"]>
28
29 De ${dateStart?string["d MMMM"]} a ${dateEnd?string["d MMMM yyyy"]}
30
31 <#else>
32
33 De ${dateStart?string["d MMMM yyyy"]} a ${dateEnd?string["d MMMM yyyy"]}
34
35 </#if>
36 </time>
37
38 <h1 class="news-events__title">
39 ${.vars['reserved-article-title'].data}
40 </h1>
41
42 <#if .vars['reserved-article-description'].data != "">
43 <h2 class="news-events__subtitle">
44 ${.vars['reserved-article-description'].data}
45 </h2>
46
47 <hr class="divider">
48 </#if>
49
50 <#if mainImage.imageDetail.getData() != "">
51 <figure class="news-events__main-figure">
52
53 <img class="news-events__main-image" src="${mainImage.imageDetail.getData()}" alt="${mainImage.imageAlt.getData()}">
54
55 <#if mainImage.imageAlt.getData() != "">
56 <figcaption class="news-events__main-image__caption">
57 ${mainImage.imageAlt.getData()}
58 </figcaption>
59 </#if>
60
61 </figure>
62 </#if>
63
64 ${bodyEvent.getData()}
65
66 <#if services.otherInfo.getData() != "">
67 <h3><@liferay.language key="services" /></h3>
68
69 <p>
70 <strong>${.vars['reserved-article-title'].data}</strong>
71 </p>
72
73 ${services.otherInfo.getData()}
74 </#if>
75
76 <#if services.participateLink.getData() != "">
77 <div class="text--center margin--vertical">
78
79 <a class="btn btn-primary text--uppercase" href="${services.participateLink.getData()}" target="_blank">
80 Quero Participar
81 </a>
82
83 </div>
84 </#if>
85
86 <#if imageGallery.facebook.getData() != "">
87 <p>
88 Veja a galeria em <a href="${imageGallery.facebook.getData()}" target="_blank">Facebook</a>
89 </p>
90 </#if>
91
92 <#if imageGallery.instagram.getData() != "">
93 <p>
94 Veja a galeria em <a href="${imageGallery.instagram.getData()}" target="_blank">Instagram</a>
95 </p>
96 </#if>
97
98 <#assign galleryColumnClass = "col-md-12" />
99
100 <#list imageGallery.images.getSiblings() as image>
101 <#if image.getData() != "">
102 <#assign hasImageGallery = true />
103 <#break>
104 </#if>
105 </#list>
106
107 <#list videoGallery.videos.getSiblings() as video>
108 <#if video.videoYoutubeID.getData() != "" || video.videoSource.getData() != "">
109 <#assign hasVideoGallery = true />
110 <#break>
111 </#if>
112 </#list>
113
114 <#if hasImageGallery && hasVideoGallery>
115 <#assign galleryColumnClass = "col-md-6">
116
117 <div class="row">
118 <#if hasImageGallery>
119 <div class="gallery-image ${galleryColumnClass}">
120
121 <#list imageGallery.images.getSiblings() as image>
122 <#if image?is_first>
123 <a class="gallery-thumb gallery-thumb--image" href="${image.getData()}">
124
125 <figure class="gallery-thumb__image-wrapper">
126 <img class="gallery-thumb__image" src="${image.getData()}" alt="${image.galleryImageAlt.getData()}">
127 </figure>
128
129 <p class="gallery-thumb__text">
130 Ver imagens
131 </p>
132 </a>
133
134 <#else>
135
136 <a class="hide" href="${image.getData()}">
137 <img src="${image.getData()}" alt="${image.galleryImageAlt.getData()}" />
138 </a>
139 </#if>
140 </#list>
141
142 </div>
143 </#if>
144
145 <#if hasVideoGallery>
146 <div class="gallery-video ${galleryColumnClass}">
147
148 <#list videoGallery.videos.getSiblings() as video>
149 <#if video?is_first>
150
151 <#if video.videoYoutubeID.getData() == "">
152 <a class="gallery-thumb gallery-thumb--video" href=""
153 data-download-url="${video.videoSource.getData()}"
154 data-poster="${video.videoCover.getData()}"
155 data-html="#gallery-video-item-1-${randomNamespace}"
156 data-sub-html="${video.videoDescription.getData()}">
157
158 <figure class="gallery-thumb__image-wrapper">
159 <img class="gallery-thumb__image" src="${video.videoCover.getData()}">
160 </figure>
161
162 <p class="gallery-thumb__text">
163 Ver vídeos
164 </p>
165 </a>
166
167 <#else>
168
169 <a class="gallery-thumb gallery-thumb--video" href="https://www.youtube.com/watch?v=${video.videoYoutubeID.getData()}"
170 data-sub-html="${video.videoDescription.getData()}">
171
172 <figure class="gallery-thumb__image-wrapper">
173 <img class="gallery-thumb__image" src="${video.videoCover.getData()}">
174 </figure>
175
176 <p class="gallery-thumb__text">
177 Ver vídeos
178 </p>
179 </a>
180
181 </#if>
182
183 <#else>
184
185 <#if video.videoYoutubeID.getData() == "">
186 <a class="hide" href=""
187 data-download-url="${video.videoSource.getData()}"
188 data-poster="${video.videoCover.getData()}"
189 data-html="#gallery-video-item-${video?counter}-${randomNamespace}"
190 data-sub-html="${video.videoDescription.getData()}">
191 Video Trigger
192 </a>
193
194 <#else>
195
196 <a class="hide" href="https://www.youtube.com/watch?v=${video.videoYoutubeID.getData()}"
197 data-sub-html="${video.videoDescription.getData()}">
198 Video Trigger
199 </a>
200
201 </#if>
202 </#if>
203
204 </#list>
205 </div>
206
207 <div class="hide">
208 <#list videoGallery.videos.getSiblings() as video>
209
210 <#if video.videoYoutubeID.getData() == "">
211 <div id="gallery-video-item-${video?counter}-${randomNamespace}">
212
213 <video class="lg-video-object lg-html5" controls preload="none">
214 <source src="${video.videoSource.getData()}" type="video/mp4">
215 Seu navegador não suporta HTML 5 vídeos
216 </video>
217
218 </div>
219 </#if>
220
221 </#list>
222 </div>
223 </#if>
224 </div>
225 </#if>
226
227 <#if extraContents.getData() != "">
228 <#list extraContents.getSiblings() as extraContent>
229
230 <div class="margin--vertical">
231 <#assign article = extraContent.getData()?eval />
232 <@liferay_asset["asset-display"]
233 className=article.className
234 classPK=getterUtil.getLong(article.classPK, 0)
235 template="full_content"
236 />
237 </div>
238
239 </#list>
240 </#if>
241
242 </div>
243</div>