Les proves de l'educació: Barcelona (La inclusió a l'aula)
S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> fileEntryFriendlyURLResolver.resolveFriendlyURL(groupId, linkUrl?keep_after_last("/")?keep_before("?")) [in template "76121110924137#32361#FICHA_FORMACION_TPL" at line 880, column 121]
----
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 fileDownload = fileEntryFrien... [in template "76121110924137#32361#FICHA_FORMACION_TPL" at line 880, column 97]
----
1<#-- get services -->
2 <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") />
3 <#assign assetVocabularyLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") />
4 <#assign UtilsService = serviceLocator.findService("com.educaixa.common.service.EduCaixaCommonService")/>
5 <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
6 <#assign dLFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") />
7 <#assign fileEntryFriendlyURLResolver = serviceLocator.findService("com.liferay.portal.kernel.repository.friendly.url.resolver.FileEntryFriendlyURLResolver") />
8 <#assign InscripcionConferenciaLocalService = serviceLocator.findService("com.educaixa.services.service.InscripcionConferenciaLocalService") />
9 <#assign LiteralsToolsServiceUtil = serviceLocator.findService("com.aqua.literals.util.LiteralsToolsService")/>
10 <#assign language = themeDisplay.getLocale()/>
11 <#assign groupId = themeDisplay.getScopeGroupId()/>
12 <#assign restultsLiteral = LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.common.link.resultados") />
13 <#assign valoracionesDisplay = serviceLocator.findService("com.educaixa.services.service.RatingStatsLocalService")/>
14 <#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() />
15 <#assign httpServletRequest = serviceContext.getRequest() />
16 <#assign UserBookmarkLocalService = serviceLocator.findService("com.educaixa.services.service.UserBookmarkLocalService") />
17
18 <#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), .vars['reserved-article-id'].data) />
19 <#assign asset = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", article.resourcePrimKey) />
20
21
22
23 <#-- get the results URL and valoration value-->
24 <#assign results_url = "${themeDisplay.getPortalURL()}/${locale.getLanguage()}${restultsLiteral}?q=" />
25 <#assign valoracionesDisplayAverage = 0/>
26 <#if valoracionesDisplay.fetchByResourcePK(themeDisplay.getScopeGroupId(),themeDisplay.getCompanyId(),article.getResourcePrimKey()) ??>
27 <#assign valoracionesDisplayValue = valoracionesDisplay.findByResourcePK(themeDisplay.getScopeGroupId(),themeDisplay.getCompanyId(),article.getResourcePrimKey()) />
28 <#assign valoracionesDisplayAverage = valoracionesDisplayValue.getAverageGlobalScore() />
29 </#if>
30
31 <#-- Escape title text -->
32 <#if title.getData()??>
33 <#assign titleEscaped = title.getData()?replace('<p>','','r')/>
34 <#assign titleEscaped = titleEscaped?replace('</p>','','r')/>
35 <#assign titleEscaped = titleEscaped?replace('<div>','','r')/>
36 <#assign titleEscaped = titleEscaped?replace('</div>','','r')/>
37 <#assign titleEscaped = titleEscaped?replace('<h1>','','r')/>
38 <#assign titleEscaped = titleEscaped?replace('</h1>','','r')/>
39 </#if>
40
41 <#if subtitle.getData()??>
42 <#assign subtituloEscaped = subtitle.getData() />
43 <#assign subtituloEscaped = subtituloEscaped?replace('<p>','','r')/>
44 <#assign subtituloEscaped = subtituloEscaped?replace('</p>','','r')/>
45 </#if>
46
47 <#-- get image alt -->
48 <#if bannerImage_?? && bannerImage_.getData()?? && bannerImage_.getData() != "">
49 <#assign altImage = bannerImage_.getAttribute("alt") />
50 <#else>
51 <#assign altImage = titleEscaped />
52 </#if>
53
54 <#-- get image banner -->
55 <#if bannerImage_?? && bannerImage_.getData()?? && bannerImage_.getData() != "">
56 <#assign imageSrc = bannerImage_.getData() />
57 <#else>
58 <#assign imageSrc = "/o/educaixa-theme/images/blured-lights-formacion.png" />
59 </#if>
60
61<#assign nivel_educativo_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Nivel educativo").getVocabularyId() />
62<#assign area_conocimiento_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Área de conocimiento").getVocabularyId() />
63<#assign competencias_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Competencias clave").getVocabularyId() />
64
65
66 <#assign language = themeDisplay.getLocale()/>
67 <#assign nivel_educativo = []>
68 <#assign area_conocimiento = []>
69 <#assign competencias = []>
70 <#assign objectius = []>
71
72
73
74
75 <#-- formación botones inscripción-->
76 <#assign isTraining = (tipo.getData()?? && tipo.getData() == "training") />
77 <#assign isEducaixaTalks = false />
78 <#assign isPresencialEnable = presencialEnable?? && presencialEnable.getData()?? && getterUtil.getBoolean(presencialEnable.getData()) />
79 <#assign isOnlineEnable = onlineEnable?? && onlineEnable.getData()?? && getterUtil.getBoolean(onlineEnable.getData()) />
80 <#assign questionText = LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.SUBSCRIBE.QUESTION") />
81 <#if isPresencialEnable && edutalkPresencialLink?? && edutalkPresencialLink.getData()?? && edutalkPresencialLink.getData() != "">
82 <#assign edutalkPresencialUrl = edutalkPresencialLink.getData() />
83 </#if>
84 <#if isPresencialEnable == true && isOnlineEnable == true >
85 <#assign questionText = LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.SUBSCRIBE.QUESTION") />
86 <#assign presencialBtnText = LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.SUBSCRIBE.PO.PRESENCIAL") />
87 <#assign onlineBtnText = LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.SUBSCRIBE.PO.ONLINE") />
88 <#else>
89 <#assign questionText = "" />
90 <#assign presencialBtnText = LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.SUBSCRIBE.PRESENCIAL") />
91 <#assign onlineBtnText = LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.SUBSCRIBE.ONLINE") />
92 </#if>
93
94
95<#list asset.getCategories() as cur_category>
96 <#if cur_category.vocabularyId == nivel_educativo_vocabularyId>
97 <#assign nivel_educativo = nivel_educativo + [cur_category.getTitle(language)]>
98 <#elseif cur_category.vocabularyId == area_conocimiento_vocabularyId>
99 <#assign area_conocimiento = area_conocimiento + [cur_category.getTitle(language)]>
100 <#elseif cur_category.vocabularyId == competencias_vocabularyId>
101 <#assign competencias = competencias + [cur_category.getTitle(language)]>
102 </#if>
103
104</#list>
105
106
107
108
109
110 <#assign provincia_id = 232872/>
111 <#assign centro_flc_id = 232881/>
112
113 <#assign thesaurusCategories = UtilsService.getThesaurusCategories(asset) />
114 <#assign tagsCategories = UtilsService.getTagsCategories(asset) />
115 <#assign categories = thesaurusCategories + tagsCategories />
116
117 <#-- inscripcion conferencia -->
118 <#assign is_signed_in = themeDisplay.isSignedIn()/>
119 <#assign groupId = themeDisplay.getScopeGroupId()/>
120 <#assign companyId =themeDisplay.getCompanyId()/>
121 <#assign userId =themeDisplay.getUserId()/>
122 <#assign journalArticleId = .vars['reserved-article-id'].data/>
123 <#assign userId =themeDisplay.getUserId()/>
124 <#assign isUserBookmark = UserBookmarkLocalService.isUserBookmark(themeDisplay.getCompanyId(),userId,journalArticleId,groupId)/>
125 <#assign aforomax = true />
126 <#assign inscripcion = false />
127 <#attempt>
128 <#assign inscripcionC = InscripcionConferenciaLocalService.findByConferenciaIdAndInscrito(groupId, companyId, journalArticleId?number, true)/>
129 <#assign countInscripcion = inscripcionC?size />
130 <#if aforo?? && aforo.getData()?has_content && countInscripcion < aforo.getData()?number>
131 <#assign aforomax = false />
132 </#if>
133 <#if is_signed_in>
134 <#assign inscripcion = InscripcionConferenciaLocalService.inscripcionAlreadyExistsAndEmail(groupId, companyId, userId, journalArticleId?number) />
135 <#if inscripcion>
136 <#assign inscrito = InscripcionConferenciaLocalService.findByUserIdAndConferenciaId(groupId, companyId, userId, journalArticleId?number) />
137 <#assign inscripcion = inscrito.getInscrito() />
138 </#if>
139 </#if>
140 <#recover>
141 </#attempt>
142
143 <#-- Recuperación ID Bloques -->
144 <#assign listIdBlock = ["descripcion-formacion"]>
145 <#assign listNameBlock = [LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.description")]>
146 <@isPre itinerancies=itinerancy/>
147
148 <#attempt>
149 <#if presenterImg.getData()?has_content>
150 <#assign listIdBlock = listIdBlock + ["ponente-formacion"]>
151 <#assign listNameBlock = listNameBlock + [LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.presenter")]>
152 </#if>
153 <#recover>
154 </#attempt>
155
156 <#attempt>
157 <#if materialsAndDownloadsText.getData()?has_content || materialsAndDownloadsText.linkTxt.getSiblings()?has_content || materialsAndDownloadsText.fileText.getSiblings()?has_content >
158 <#assign listIdBlock = listIdBlock + ["materiales-descarga-formacion"]>
159 <#assign listNameBlock = listNameBlock + [LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.materials.and.downloads")]>
160 </#if>
161 <#recover>
162 </#attempt>
163
164 <#attempt>
165 <#if isPre>
166 <#assign listIdBlock = listIdBlock + ["fechas-ubicaciones-formacion"]>
167 <#assign listNameBlock = listNameBlock + [LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.dates.and.locations")]>
168 </#if>
169 <#recover>
170 </#attempt>
171
172<#assign marginDescription = false />
173 <#attempt>
174 <#if !isPre>
175 <#if carrouselTitle.getData()?has_content>
176 <#assign listIdBlock = listIdBlock + ["carrousel-videos-formacion"]>
177 <#assign listNameBlock = listNameBlock + [carrouselTitle.getData()]>
178 <#assign marginDescription = true />
179 </#if>
180 </#if>
181 <#recover>
182 </#attempt>
183
184 <#attempt>
185 <#if twoVidsTitle.getData()?has_content && (twoVidsTitle.twoVidsFirst.getData()?has_content || twoVidsTitle.twoVidsFirst.firstVideoYT.getData()?has_content)>
186 <#assign listIdBlock = listIdBlock + ["seccion-dos-videos-formacion"]>
187 <#assign listNameBlock = listNameBlock + [twoVidsTitle.getData()]>
188 <#assign marginDescription = true />
189 </#if>
190 <#recover>
191 </#attempt>
192
193 <#assign listSize = listIdBlock?size>
194 <#assign k = 0>
195
196 <#-- Login -->
197 <#assign is_signed_in = themeDisplay.isSignedIn()/>
198 <#assign plid = portalUtil.getPlidFromPortletId(themeDisplay.getScopeGroupId(), "EducaixaMyeducaixaLogin") />
199 <#assign loginURL = portletURLFactory.create(httpServletRequest, "EducaixaMyeducaixaLogin", plid, "RENDER_PHASE") />
200 ${loginURL.setParameter("mvcPath", "/login_modal.jsp")}
201 ${loginURL.setWindowState("POP_UP")}
202
203 <#assign currentUrl = themeDisplay.getURLPortal()+themeDisplay.getURLCurrent()/>
204 <#-- get text by Type field -->
205 <#if tipo.getData()?? && tipo.getData() == "training">
206 <#assign textByType = LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.formacion") />
207 <#else>
208 <#assign textByType =LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.formacion.proyecto")/>
209 </#if>
210 <#-- Banner section-->
211 <div class="ficha_formacion">
212 <div class="container vertical image-view" style="padding:0px">
213 <div class="row">
214 <#if video.videoYTBanner.getData()?has_content || video.getData()?has_content>
215 <div class="video">
216 <img src="http://img.youtube.com/vi/${video.videoYTBanner.getData()}/0.jpg" class="crop img-fluid col-lg-7 video-player " >
217 <a href="#" class="trigger" data-target="#videoModal" data-toggle="modal">
218 <svg viewBox="0 0 26 26" style="fill:white;">
219 <polygon class="play-btn__svg" points="9.33 6.69 9.33 19.39 19.3 13.04 9.33 6.69"/>
220 <path class="play-btn__svg" d="M26,13A13,13,0,1,1,13,0,13,13,0,0,1,26,13ZM13,2.18A10.89,10.89,0,1,0,23.84,13.06,10.89,10.89,0,0,0,13,2.18Z"/>
221 </svg>
222
223 </a>
224 </div>
225
226 <#else>
227 <img src="${imageSrc}" alt="${altImage}"class="img-fluid col-lg-7 video-player" width="900" height="548" style="padding: 0px; width: auto; flex-basis: auto;">
228 </#if>
229 <div class="row">
230 <div class="box-img square square-mob col-lg">
231 <#-- <p class="training-type">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.formacion")}</p> -->
232 <p class="training-type">${textByType}</p>
233 <#if title?has_content>
234 <h3 class="element-title">${titleEscaped}</h3>
235 </#if>
236 <#if subtitle?has_content>
237 <p class="element-body">${subtituloEscaped}</p>
238 <br>
239 </#if>
240
241 <!-- <h2> -->
242 <#if itinerancy.center.getData()?? && itinerancy.center.getData()!= "" && itinerancy.center??>
243 <#assign centro_id_string = itinerancy.center.getData() />
244 <#assign centro_id_string_json = centro_id_string?eval />
245 <#assign centro_id_string_classPK = centro_id_string_json.classPK />
246 <#if centro_id_string_classPK != "" && centro_id_string_classPK?? && itinerancy.center.getData()??>
247 <#assign centro_id = centro_id_string_classPK?number />
248 <#--
249 <#assign centroJA = "" />
250 <#assign centroJA = journalArticleLocalService.fetchLatestArticle(centro_id)/>
251 <#assign centroDoc = saxReaderUtil.read(centroJA.getContentByLocale(locale))/>
252 <#assign centro_entry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle",centro_id)/>
253 <#assign mapURL = centroDoc.valueOf("//dynamic-element[@name='map']/dynamic-content/text()") />
254 <#assign nombreCentro = centroDoc.valueOf("//dynamic-element[@name='nombre']/dynamic-content/text()") />
255 <b>${nombreCentro}</b>
256 </#if>
257 -->
258 </#if>
259 </#if>
260
261
262 <#assign itinerancy_startDateItinerancy_Data = getterUtil.getString(itinerancy.startDateItinerancy.getData())>
263 <#if validator.isNotNull(itinerancy_startDateItinerancy_Data)>
264 <#assign itinerancy_startDateItinerancy_DateObj = dateUtil.parseDate("yyyy-MM-dd", itinerancy_startDateItinerancy_Data, locale)>
265 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-calendar4" viewBox="0 0 16 16">
266 <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM2 2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1H2zm13 3H1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V5z"/>
267 </svg>
268 <span><b>${dateUtil.getDate(itinerancy_startDateItinerancy_DateObj, "EEEE dd/MM/yyyy", locale)?cap_first}</b></span>
269 </#if>
270
271 <#if itinerancy.startTime?? && itinerancy.startTime.getData()?? && itinerancy.startTime.getData() != "" && itinerancy.startTime.getData() != "0">
272
273 <#assign startTime_String = itinerancy.startTime.getData()>
274
275
276 <span><b> - ${startTime_String}</b></span>
277 </#if>
278
279 <#-- <#if tipo.getData()?? && tipo.getData() == "project"> -->
280 <#-- is project -->
281 <#if isTraining == false >
282 <#assign itinerancy_endDateItinerancy_Data = getterUtil.getString(itinerancy.endDateItinerancy.getData())>
283 <#if validator.isNotNull(itinerancy_endDateItinerancy_Data)>
284 <#assign itinerancy_endDateItinerancy_DateObj = dateUtil.parseDate("yyyy-MM-dd", itinerancy_endDateItinerancy_Data, locale)>
285
286 <span><b> - ${dateUtil.getDate(itinerancy_endDateItinerancy_DateObj, "dd/MM/yyyy", locale)}</b></span>
287 </#if>
288 </#if>
289
290 <br><br>
291
292 <#if itinerancy.price?? && itinerancy.price.getData()?? && itinerancy.price.getData() != "">
293 <span class="price-wrapper">
294
295 <#if itinerancy.price.getData()?contains("0")>
296 <b>${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.ficha.gratis")}</b>
297 <#else>
298 <b>${itinerancy.price.getData() }</b>
299 </#if>
300
301 </span>
302 <br><br>
303 </#if>
304
305 <!-- <h2> -->
306 <hr style="border-color: #0FB158;">
307
308 <#-- BOTONES INSCRIPCION -->
309
310 <#if isPresencialEnable == true && isOnlineEnable == true >
311 <p class="element-body">${questionText} </p>
312 <br>
313 </#if>
314 <#-- Presencial -->
315 <#if isPresencialEnable == true >
316 <#if edutalkPresencialUrl?? && edutalkPresencialUrl !="" >
317 <a href="${edutalkPresencialUrl}" target="_blank" name="button-inscribe" class="link-button-inscribe">
318 ${presencialBtnText}
319 </a>
320 </#if>
321 </#if>
322 <#-- Online -->
323 <#if isOnlineEnable == true >
324 <#if is_signed_in>
325 <#if !aforomax && !inscripcion && activeConf.getData() == "true">
326 <#if conferenceLink.getData()?? && conferenceLink.getData() != "">
327 <a href="${conferenceLink.getData()}" target="_blank" name="button-inscribe" class="link-button-inscribe">
328 ${onlineBtnText}
329 </a>
330 <#else>
331 <a onClick="window.location='#inscribete-conferencia'" target="_blank" class="link-button-inscribe">
332 ${onlineBtnText}
333 </a>
334 </#if>
335 </#if>
336 <#else>
337 <#if publicConf?has_content && publicConf.getData() == "true">
338 <#if conferenceLink.getData()?? && conferenceLink.getData() != "">
339 <a href="${conferenceLink.getData()}" target="_blank" name="button-inscribe" class="link-button-inscribe">
340 ${onlineBtnText}
341 </a>
342 <#else>
343 <a onClick="window.location='#inscribete-conferencia'" target="_blank" class="link-button-inscribe">
344 ${onlineBtnText}
345 </a>
346 </#if>
347 <#elseif !aforomax && activeConf.getData() == "true">
348 <a onClick="openPopup('${loginURL}','','500', '650')" target="_blank" class="link-button-inscribe">
349 ${onlineBtnText}
350 </a>
351 </#if>
352 <#-- </#if> -->
353
354 </#if>
355 </#if>
356
357 <#-- VIDEOS -->
358
359
360 <#if video.videoYTBanner.getData()?has_content || video.getData()?has_content>
361 <a href="#" class="trigger" data-target="#videoModal" data-toggle="modal">
362 <div class="box">
363 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.formacion.ver.video")}
364 </div>
365 </a>
366 </#if>
367 <div class="card-actions flex">
368 <div class="statistics">
369 <svg viewBox="0 0 36 36" class="circular-chart orange"><line x1="18" y1="-5" x2="18" y2="5" stroke="black" stroke-width="2"></line>
370 <line x1="18" y1="-5" x2="18" y2="5" stroke="black" stroke-width="2"></line>
371 <path class="circle-bg" d="M18 2.0845
372 a 15.9155 15.9155 0 0 1 0 31.831
373 a 15.9155 15.9155 0 0 1 0 -31.831"></path>
374 <path class="circle" stroke-dasharray="${valoracionesDisplayAverage*20}, 100" d="M18 2.0845
375 a 15.9155 15.9155 0 0 1 0 31.831
376 a 15.9155 15.9155 0 0 1 0 -31.831"></path>
377 <text x="18" y="22" class="percentage">${valoracionesDisplayAverage}</text>
378 </svg>
379 </div>
380 <div class="share">
381 <button id="share"></button>
382 <div class="a2a_kit a2a_kit_size_32 a2a_default_style tooltip" data-a2a-title="${titleEscaped}" data-a2a-icon-color="#009AD8">
383 <a class="a2a_button_facebook"></a>
384 <a class="a2a_button_x"></a>
385 <a class="a2a_button_whatsapp"></a>
386 <a class="a2a_button_email"></a>
387 </div>
388 </div>
389 <div class="bookmark">
390 <#if is_signed_in>
391 <#if isUserBookmark>
392 <button id="bookmark" onClick="updateUserBookmark(${journalArticleId},false);" data-articleid="${journalArticleId}" class="bookmark bookmarked"></button>
393 <#else>
394 <button id="bookmark" onClick="updateUserBookmark(${journalArticleId},true);" data-articleid="${journalArticleId}" class="bookmark"></button>
395 </#if>
396 <#else>
397 <button id="bookmark" onClick="event.stopPropagation();openPopup('${loginURL}','','500', '650')"></button>
398 </#if>
399 </div>
400 </div>
401
402 <div class="modal fade" id="videoModal" tabindex="-1" role="dialog" aria-labelledby="videoModal" aria-hidden="true">
403 <div class="modal-dialog modal-lg" role="document">
404 <div class="modal-content row">
405
406 <span class="close btn-round btn-primary" data-dismiss="modal" aria-label="Close" aria-hidden="true">×</span>
407 <iframe id="yt-modal" class="embed-responsive-item" src="https://www.youtube.com/embed/${video.videoYTBanner.getData()}?rel=0" width="100%" height="458px%" allowfullscreen webkitallowfullscreen mozallowfullscreen frameborder='0'></iframe>
408 </div>
409 </div>
410 </div>
411 </div>
412 </div>
413 </div>
414 </div>
415
416 <#-- DATOS BASICOS-->
417 <#if isPresencialEnable == true && isOnlineEnable == true >
418 <div class="container vertical info-view" style="margin-top:50px;">
419 <#else>
420 <div class="container vertical info-view" style="margin-top:25px;">
421 </#if>
422
423 <div class="row">
424 <#if nivel_educativo?size != 0 >
425 <div class="col-lg col-xs-6 col-sm">
426 <h2 class="green-title">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.nivel.educativo")}</h2>
427 <ul>
428 <#list nivel_educativo as item>
429 <li class="marked">${item}</li>
430 </#list>
431 </ul>
432 </div>
433 </#if>
434 <#if area_conocimiento?size != 0 >
435 <div class="col-lg col-xs-6 col-sm">
436 <h3 class="green-title">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.area.conocimiento")}</h3>
437 <ul>
438 <#list area_conocimiento as item>
439 <li class="marked">${item}</li>
440 </#list>
441 </ul>
442 </div>
443 </#if>
444 <#if competencias?size != 0 >
445 <div class="col-lg col-xs-6 col-sm">
446 <h3 class="green-title">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.competencias")}</h3>
447 <ul>
448 <#list competencias as item>
449 <li class="marked">${item}</li>
450 </#list>
451 </ul>
452 </div>
453 </#if>
454 <#if itinerancy?? && itinerancy.aproxDuration.getData()?? && itinerancy.aproxDuration.getData() != "">
455 <div class="col-lg col-xs-6 col-sm">
456 <h3 class="green-title">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.duracion")}</h3>
457 <ul>
458 <li class="marked">${itinerancy.aproxDuration.getData()}</li>
459 </ul>
460 </div>
461 </#if>
462 </div>
463 </div>
464
465 <hr class="green-line">
466 <div class="container vertical" style="margin-top:25px;">
467 <div class="row three">
468 <div class="col-lg-7 col-sm">
469
470 <#if !isPre>
471 <#-- SECCION CARROUSEL VIDEOS-->
472 <#if carrouselTitle?? >
473 <#if carrouselTitle.getData()?? && carrouselTitle.getData() != "">
474 <h3><p style="color:#0FB158">${carrouselTitle.getData()}</p></h3>
475 </#if>
476 <#if carrouselTitle.carrouselTxt.getData()?? && carrouselTitle.carrouselTxt.getData() != "">
477 ${carrouselTitle.carrouselTxt.getData()}
478 </#if>
479 <#if carrouselTitle.carrouselElem.getSiblings()?has_content>
480 <div class="carrousel-images-videos">
481 <#list carrouselTitle.carrouselElem.getSiblings() as carrouselElem>
482 <div class="una-clase-comun">
483 <#if carrouselElem.carrouselInternalElem.getData()?has_content>
484 <#if carrouselElem.carrouselInternalElem.getData()?? && carrouselElem.carrouselInternalElem.getData() != "">
485 <#assign file = dLFileEntryLocalService.getFileEntryByUuidAndGroupId(carrouselElem.carrouselInternalElem.getData()?keep_after_last("/")?keep_before("?"),groupId)/>
486 <#assign mimeType = file.getMimeType()?keep_before("/")/>
487 <#if mimeType == "image">
488 <div class="image-wrapper slide-1">
489 <img style="width:100%; height:auto" src="${carrouselElem.carrouselInternalElem.getData()}" alt="">
490 <div class="carrousel-info">
491 <#if carrouselElem.carrouselVideoDescription.getData()?has_content>
492 <span class="slide-title blanco">${carrouselElem.carrouselVideoDescription.getData()}</span>
493 </#if>
494 <div class="slide-counter blanco">
495 <span class="blanco"></span>
496 </div>
497 </div>
498 </div>
499 <#elseif mimeType == "video">
500 <div class="video-wrapper slide-2">
501 <video style="width:100%; height:auto" controls controlsList="nodownload">
502 <source src="${carrouselElem.carrouselInternalElem.getData()}" type="${file.getMimeType()}">
503 </video>
504 <div class="playpause"></div>
505 <div class="carrousel-info">
506 <#if carrouselElem.carrouselVideoDescription.getData()?has_content>
507 <span class="slide-title blanco">${carrouselElem.carrouselVideoDescription.getData()}</span>
508 </#if>
509 <div class="slide-counter blanco">
510 <span class="blanco"></span>
511 </div>
512 </div>
513 </div>
514 </#if>
515 </#if>
516 <#elseif carrouselElem.carrouselExternalElem.getData()?has_content>
517 <#assign YTVideo = carrouselElem.carrouselExternalElem.getData()/>
518 <div class="yt-video-wrapper slide-3">
519 <div class="yt-video-wrapper hide-print">
520 <iframe src="https://www.youtube.com/embed/${YTVideo}?rel=0" allowfullscreen webkitallowfullscreen mozallowfullscreen frameborder='0'></iframe>
521 </div>
522 <div class="carrousel-info">
523 <#if carrouselElem.carrouselVideoDescription.getData()?has_content>
524 <span class="slide-title blanco">${carrouselElem.carrouselVideoDescription.getData()}</span>
525 </#if>
526 <div class="slide-counter blanco">
527 <span class="blanco"></span>
528 </div>
529 </div>
530 </div>
531 </#if>
532 </div>
533 </#list>
534 </div>
535 </#if>
536 </#if>
537 </#if>
538 <#if twoVidsTitle.getData()?? && (twoVidsTitle.twoVidsFirst.getData()?? || twoVidsTitle.twoVidsFirst.firstVideoYT.getData()??)>
539 <div class="bloque hide-print bullet-bloque">
540 <h3><p style="color:#0FB158">${twoVidsTitle.getData()}</h3>
541 <#if twoVidsTitle.twoVidTxt.getData()?has_content>
542 <div>
543 ${twoVidsTitle.twoVidTxt.getData()}
544 </div>
545 </#if>
546 <div class="row">
547 <div class="col-md-6">
548 <#if twoVidsTitle.twoVidsFirst.getData()?has_content>
549 <#assign file = dLFileEntryLocalService.getFileEntryByUuidAndGroupId(twoVidsTitle.twoVidsFirst.getData()?keep_after_last("/")?keep_before("?"),groupId)/>
550 <#if file?? && file != "" >
551 <#assign mimeType = file.getMimeType()?keep_before("/")/>
552 <#if mimeType == "video">
553 <div class="video-wrapper">
554 <video controls controlsList="nodownload">
555 <source src="${twoVidsTitle.twoVidsFirst.getData()}" type="${file.getMimeType()}">
556 </video>
557 <div class="playpause"></div>
558 </div>
559 </#if>
560 </#if>
561 <#elseif twoVidsTitle.twoVidsFirst.firstVideoYT.getData()?? && twoVidsTitle.twoVidsFirst.firstVideoYT.getData() != "">
562 <#assign YTVideo =twoVidsTitle.twoVidsFirst.firstVideoYT.getData()/>
563 <div class="yt-video-wrapper">
564 <iframe src="https://www.youtube.com/embed/${YTVideo}?rel=0" enablejsapi='1' allowfullscreen webkitallowfullscreen mozallowfullscreen frameborder='0'></iframe>
565 </div>
566 <#if twoVidsTitle.twoVidsFirst.twoVidsFirstTxt.getData()?has_content>
567 <div>
568 ${twoVidsTitle.twoVidsFirst.twoVidsFirstTxt.getData()}
569 </div>
570 </#if>
571 </#if>
572 </div>
573 <div class="col-md-6">
574 <#if twoVidsTitle.twoVidsSecond.getData()?? && twoVidsTitle.twoVidsSecond.getData() != "">
575 <#assign file2 = dLFileEntryLocalService.getFileEntryByUuidAndGroupId(twoVidsTitle.twoVidsSecond.getData()?keep_after_last("/")?keep_before("?"),groupId)/>
576 <#if file2?? && file2 != "" >
577 <#assign mimeType2 = file2.getMimeType()?keep_before("/")/>
578 <#if mimeType2 == "video">
579 <div class="video-wrapper">
580 <video controls controlsList="nodownload">
581 <source src="${twoVidsTitle.twoVidsSecond.getData()}" type="${file2.getMimeType()}">
582 </video>
583 <div class="playpause"></div>
584 </div>
585 </#if>
586 </#if>
587 <#elseif twoVidsTitle.twoVidsSecond.secondVideoYT.getData()?? && twoVidsTitle.twoVidsSecond.secondVideoYT.getData() != "">
588 <#assign YTVideo =twoVidsTitle.twoVidsSecond.secondVideoYT.getData()/>
589 <div class="yt-video-wrapper">
590 <iframe src="https://www.youtube.com/embed/${YTVideo}?rel=0" enablejsapi='1' allowfullscreen webkitallowfullscreen mozallowfullscreen frameborder='0'></iframe>
591 </div>
592 </#if>
593 <#if twoVidsTitle.twoVidsSecond.twoVidsSecondTxt.getData()?? && twoVidsTitle.twoVidsSecond.twoVidsSecondTxt.getData() != "">
594 <div>
595 ${twoVidsTitle.twoVidsSecond.twoVidsSecondTxt.getData()}
596 </div>
597 </#if>
598 </div>
599 </div>
600 </div>
601 </#if>
602
603 <#-- DESCRIPCION-->
604 <#if description?? && description.getData()?? && description.getData() != "">
605 <#if !marginDescription>
606 <div ><p>${description.getData()?replace('<iframe','<iframe sandbox="allow-scripts allow-same-origin"')}</p></div>
607 <#else>
608 <div style="margin-top:45px;"><p>${description.getData()?replace('<iframe','<iframe sandbox="allow-scripts allow-same-origin"')}</p></div>
609 </#if>
610 </#if>
611 <#assign prevSection = "descripcion"/>
612
613 <#-- SECCION OBJETIVO -->
614 <#if objetivosText?? && objetivosText.getData()?has_content>
615 <h3 style="margin-top:45px;">
616 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.formacion.objetivo")}
617 </h3>
618 <div class="row">
619 <#list objetivosText.getSiblings() as cur_objetivosText>
620 <#if cur_objetivosText.getData()?has_content && cur_objetivosText.getData()??>
621 <div class="col-md-6">
622 <div class="objetivo"><h4>#${cur_objetivosText?index + 1}</h4></div>
623 <div >${cur_objetivosText.getData()?replace('<iframe','<iframe sandbox="allow-scripts allow-same-origin"')}</div>
624 </div>
625 </#if>
626 </#list>
627 </div>
628 </#if>
629
630 <#-- SECCIÓN GENÉRICA -->
631 <#if title_generic_section?? && title_generic_section.getData()?has_content>
632 <h3 style="margin-top:45px;">${title_generic_section.getData()}</h3>
633 </#if>
634 <#if text_generic_section?? && text_generic_section.getData()?has_content>
635 <div>${text_generic_section.getData()?replace('<iframe','<iframe sandbox="allow-scripts allow-same-origin"')}</div>
636 </#if>
637
638 <#-- SECCION -->
639 <#if presenterImg?? && presenterImg.getData()?has_content>
640 <#-- get text by Type field -->
641 <#if tipo.getData()?? && tipo.getData() == "training">
642 <#assign textByTypeFP = LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.formacion.ponentes") />
643 <#else>
644 <#assign textByTypeFP =LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.formacion.busca.tu.centro")/>
645 </#if>
646 <#if tituloSeccionPonente?? && tituloSeccionPonente.getData()?has_content>
647 <span class="titulo-seccion-ponente" style="margin-top:45px;display:inline-block;">
648 <h3>${tituloSeccionPonente.getData()}</h3>
649 </span>
650 <#else>
651 <h3 style="margin-top:45px;">${textByTypeFP}</h3>
652 </#if>
653
654 <#if presenterTxt.getData()?? && presenterTxt.getData() != "">
655 <p>${presenterTxt.getData()}</p>
656 </#if>
657 <#list presenterImg.getSiblings() as presenter>
658 <div class="row">
659 <#assign presenterName = "" />
660 <#if presenterImg.presenterName.getData()?? && presenterImg.presenterName.getData() != "">
661 <#assign presenterName = presenter.presenterName.getData() />
662 </#if>
663 <div class="col-lg-3 image">
664 <#if presenter.getData()?? && presenter.getData() != "">
665 <img class="profile" src="${presenter.getData()}" alt="${presenterName}" width="125" height="125">
666 </#if>
667 </div>
668 <div class="col-lg-9 ponente-section">
669 <h4 class="ponente-title">
670 ${presenterName}
671 </h4>
672 <#if presenter.presenterCareer.getData()?? && presenter.presenterCareer.getData() != "">
673 <div class="ponente-subtitle">
674 <p>${presenter.presenterCareer.getData()}</p>
675 </div>
676 </#if>
677 <#if presenter.presenterDescription.getData()?? && presenter.presenterDescription.getData() != "">
678 <div class="ponente-description">
679 <p>${presenter.presenterDescription.getData()} </p>
680 </div>
681 </#if>
682 </div>
683 </div>
684 </#list>
685 </#if>
686
687 <#-- SECCION MÁS INFO -->
688 <#if moreInfo?? && moreInfo.getData()?? && moreInfo.getData() != "">
689 <h3 style="margin-top:45px;">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.actividad.otra.info")}</h3>
690 <div class="center-info">
691 <table style="width:100%">
692 <#-- <#if itinerancy.price?? && itinerancy.price.getData() ?? && itinerancy.price.getData() != "">
693 <tr>
694 <th><img class="center-info-img" src="/o/educaixa-theme/images/money-icon-green.PNG" width="50px" alt="precio actividades EduCaixa"></th>
695 <td><div class="activity-info">
696
697
698 <#if itinerancy.price.getData()?contains("0")>
699 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.ficha.gratis")}
700 <#else>
701 ${itinerancy.price.getData()}
702 </#if>
703 </div></td>
704 </tr>
705 </#if> -->
706 <#if moreInfo?? && moreInfo.getData()?? && moreInfo.getData() != "">
707 <tr>
708 <th><img class="center-info-img" src="/o/educaixa-theme/images/info-icon-green.PNG" width="50px" alt="información actividades EduCaixa"></th>
709 <td><div class="activity-info">${moreInfo.getData()}</div></td>
710 </tr>
711 </#if>
712 </table>
713 </br>
714 </br>
715 </div>
716 </#if>
717
718
719 <#if isPre>
720 <#assign startDateItinerancy_Data = getterUtil.getString(itinerancy.startDateItinerancy.getData())>
721 <#if validator.isNotNull(startDateItinerancy_Data)>
722 <#assign startDateItinerancy_DateObj = dateUtil.parseDate("yyyy-MM-dd", startDateItinerancy_Data, locale)>
723 <#assign startDate = dateUtil.getDate(startDateItinerancy_DateObj, "dd/MM/yyyy", locale)/>
724 </#if>
725
726 <#assign endDateItinerancy_Data = getterUtil.getString(itinerancy.endDateItinerancy.getData())>
727 <#if validator.isNotNull(endDateItinerancy_Data)>
728 <#assign endDateItinerancy_DateObj = dateUtil.parseDate("yyyy-MM-dd", endDateItinerancy_Data, locale)>
729 <#assign endDate = dateUtil.getDate(endDateItinerancy_DateObj, "dd/MM/yyyy", locale)/>
730 </#if>
731
732 <#if itinerancy.aproxDuration.getData()?has_content>
733 <#assign activityDuration = itinerancy.aproxDuration.getData() />
734 <#else>
735 <#assign activityDuration = "" />
736 </#if>
737 <#if itinerancy.center.getData()?? && itinerancy.center.getData()!= "">
738 <div class="bloque" id="fechas-ubicaciones-formacion">
739 <h3>${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.dates.and.locations")}</h3>
740 <div>
741 <ul>
742 <#assign centro = itinerancy.center.getData()/>
743 <#assign centro_id_string = itinerancy.center.getData() />
744 <#assign centro_id_string_json = centro_id_string?eval />
745 <#assign centro_id_string_classPK = centro_id_string_json.classPK />
746 <#if centro_id_string_classPK != "" && centro_id_string_classPK?? && itinerancy.center.getData()??>
747 <#assign centro_id = centro_id_string_classPK?number />
748 <#assign centroJA = journalArticleLocalService.fetchLatestArticle(centro_id)/>
749 <#assign centroDoc = saxReaderUtil.read(centroJA.getContentByLocale(locale))/>
750 <#assign centro_entry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle",centro_id)/>
751 <#assign lista_centros_flc_cat = UtilsService.getCategoriesFromAssetEntryByVocabulary(centro_entry, centro_flc_id)>
752 <#assign isFLC_center = false/>
753 <#if lista_centros_flc_cat?size gt 0>
754 <#assign isFLC_center = true/>
755 </#if>
756
757 <#assign lista_provincias = UtilsService.getCategoriesFromAssetEntryByVocabulary(centro_entry, provincia_id)>
758 <#assign email = centroDoc.valueOf("//dynamic-element[@name='email']/dynamic-content/text()") />
759 <#assign nombre = centroDoc.valueOf("//dynamic-element[@name='nombre']/dynamic-content/text()") />
760 <#assign telephone = centroDoc.valueOf("//dynamic-element[@name='telephone']/dynamic-content/text()")/>
761 <#assign provincia = lista_provincias[0].name/>
762 <#assign mapURL = centroDoc.valueOf("//dynamic-element[@name='map']/dynamic-content/text()")/>
763 <#assign centerImage = centroDoc.valueOf("//dynamic-element[@name='bannerImage']/dynamic-content/text()")/>
764
765 <li class="list-elem-ubicacion">
766 <#if isFLC_center>
767 <input type="hidden" id="modal-center-email" value="${email}">
768 <input type="hidden" id="modal-center-name" value="${nombre}">
769 <input type="hidden" id="modal-center-tel" value="${telephone}">
770 </#if>
771
772 <#-- <#if centerImage?? && centerImage != "">
773 <img src="${centerImage}" class="bg list-elem-ubicacion--image" alt="centerImage.getAttribute('alt')"/>
774 </#if>-->
775
776 <div class="list-elem-ubicacion--info">
777 <ul>
778 <li class="dato--horarios">
779 <span class="float-l">
780 <p class="list-elem--fechas">${startDate} - ${endDate}</p>
781 <p class="list-elem--provincia uppercase">${provincia}</p>
782 </span>
783 <#if isFLC_center>
784 <#if is_signed_in>
785 <#if itinerancy?? && itinerancy.url ?? && itinerancy.url != "" >
786 <#assign url_reservar = itinerancy.url/>
787 <span class="float-r">
788 <button href="${url_reservar}" target="_blank" class="card-button-green color-caixa-green background-white" target="_blank">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.subscribe")}</button>
789 </span>
790 </#if>
791 <#else>
792 <#assign httpServletRequest = serviceContext.getRequest() />
793 <#assign plid = portalUtil.getPlidFromPortletId(themeDisplay.getScopeGroupId(), "EducaixaMyeducaixaLogin") />
794 <#assign renderURL = portletURLFactory.create(httpServletRequest, "EducaixaMyeducaixaLogin", plid, "RENDER_PHASE") />
795 ${renderURL.setParameter("mvcPath", "/login_modal.jsp")}
796 ${renderURL.setWindowState("POP_UP")}
797 <span class="float-r">
798 <button onClick="openPopup('${renderURL}','','500', '650')" class="card-button-green color-caixa-green background-white">
799 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.subscribe")}
800 </button>
801 </span>
802 </#if>
803 </#if>
804 </li>
805 <li class="datos-actividad">
806 <p class="dato-list-elem list-elem--location">${nombre} | <a href="${mapURL}" target="_blank" class="">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.how.to.get")}</a></p>
807 <#if itinerancy.schedule.getData()?? && itinerancy.schedule.getData() != "" >
808 <#assign timeText = itinerancy.schedule.getData()/>
809 <#else>
810 <#assign timeText = "" />
811 </#if>
812 <p class="dato-list-elem list-elem--duracion">${timeText} | ${activityDuration}</p>
813 <#if price?? && itinerancy.price.getData() ?? && itinerancy.price.getData() != "" >
814 <#assign price = itinerancy.price.getData()/>
815 <p class="dato-list-elem list-elem--precio hidden hidden-elem">${price}</p>
816 </#if>
817 <#if aforo?? && itinerancy.aforo ?? && itinerancy.aforo.getData() ?? >
818 <#assign aforo = itinerancy.aforo.getData() />
819 <p class="dato-list-elem list-elem--aforo hidden hidden-elem">${aforo} ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.places")}</p>
820 </#if>
821 <#if itinerancy.offer?? && itinerancy.offer.getSiblings()?has_content>
822 <p class="dato-list-elem list-elem--discount hidden hidden-elem">
823 <#list itinerancy.offer.getSiblings() as cur_offer>
824 <span>${cur_offer.getData()}</span>
825 </#list>
826 </p>
827 </#if>
828 <#if group?? && group != "">
829 <p class="dato-list-elem list-elem--info hidden hidden-elem">
830 <span>${group}</span>
831 </p>
832 </#if>
833 <#if isFLC_center && email?has_content>
834 <p class="hidden hidden-elem">
835 <a href="mailto:${email}" class="boton medium boton-white info-request">
836 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.ask.for.info")}
837 </a>
838 </p>
839 </#if>
840 </li>
841 </ul>
842 </div>
843 </li>
844 </#if>
845 </ul>
846 </div>
847 </div>
848 </#if>
849 </#if>
850 </div>
851
852 <div class= "captacion-ficha col-lg-5">
853 <#-- SECCION MATERIALES Y DESCARGA -->
854 <#if materialsAndDownloadsText?? && materialsAndDownloadsText.getData()?? && materialsAndDownloadsText.getData()?has_content >
855 <h3>${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.recurso.material")}</h3>
856
857 <#if (materialsAndDownloadsTextFieldSet.materialsAndDownloadsText.getData())??>
858 ${materialsAndDownloadsTextFieldSet.materialsAndDownloadsText.getData()}
859 </#if>
860 <#if materialsAndDownloadsTextFieldSet.materialsAndDownloadsTextFieldSetFieldSet.linkTxtFieldSet.linkTxtFieldSetFieldSet.getSiblings()?? && (materialsAndDownloadsTextFieldSet.materialsAndDownloadsTextFieldSetFieldSet.linkTxtFieldSet.linkTxtFieldSetFieldSet.internalLink.getData()?? || materialsAndDownloadsText.linkTxt.externalLink.getData()??) &&
861 (materialsAndDownloadsTextFieldSet.materialsAndDownloadsTextFieldSetFieldSet.linkTxtFieldSet.linkTxtFieldSetFieldSet.internalLink.getFriendlyUrl()!= "" || materialsAndDownloadsTextFieldSet.materialsAndDownloadsTextFieldSetFieldSet.linkTxtFieldSet.linkTxtFieldSetFieldSet.externalLink.getData()!= "") >
862 <ul class="material">
863 <#list materialsAndDownloadsTextFieldSet.materialsAndDownloadsTextFieldSetFieldSet.linkTxtFieldSet.getSiblings() as cur_linkTxtFieldSet>
864 <li>
865 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16">
866 <path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
867 <path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
868 </svg>
869 <#if cur_linkTxtFieldSet.linkTxtFieldSetFieldSet.internalLink.getData()?? && cur_linkTxtFieldSet.linkTxtFieldSetFieldSet.internalLink.getFriendlyUrl() != "">
870 <a href="${cur_linkTxtFieldSet.linkTxtFieldSetFieldSet.internalLink.getFriendlyUrl()}" >
871 <#elseif cur_linkTxtFieldSet.linkTxtFieldSetFieldSet.externalLink.getData()?? && cur_linkTxtFieldSet.linkTxtFieldSetFieldSet.externalLink.getData() != "">
872 <#assign linkUrl = cur_linkTxtFieldSet.linkTxtFieldSetFieldSet.externalLink.getData()/>
873 <#assign linkType = "document-link"/>
874 <#assign datafile = cur_linkTxtFieldSet.linkTxt.getData()/>
875 <#assign dataExtension = "external"/>
876 <#if linkUrl?contains("youtube") || linkUrl?contains("youtu.be")>
877 <#assign linkType = "video-link"/>
878 <#elseif linkUrl?contains("/documents/") >
879 <#assign linkType = "download-link"/>
880 <#assign fileDownload = fileEntryFriendlyURLResolver.resolveFriendlyURL(groupId, linkUrl?keep_after_last("/")?keep_before("?")) />
881 <#assign datafile = fileDownload.getTitle()/>
882 <#assign dataExtension = fileDownload.getExtension()/>
883 </#if>
884 <a href="${linkUrl}" data-file="${datafile}" data-extension="${dataExtension}" target="_blank" name="${linkType}">
885 </#if>
886 <span>${cur_linkTxtFieldSet.linkTxt.getData()}</span>
887 </a>
888 </li>
889 </#list>
890 <#if materialsAndDownloadsText.fileText.getSiblings()?? && materialsAndDownloadsText.fileText.file.getData()??>
891 <#list materialsAndDownloadsText.fileText.getSiblings() as fileText>
892 <#if fileText.file.getData()?? && fileText.file.getData() != "">
893 <#assign file = dLFileEntryLocalService.getFileEntryByUuidAndGroupId(fileText.file.getData()?keep_after_last("/")?keep_before("?"),groupId) />
894 <#assign fileTitle = file.getTitle() />
895 <#assign fileExtension = file.getExtension() />
896 <li>
897 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16">
898 <path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
899 <path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
900 </svg>
901 <a onClick="addDownloadGTMEvent('${fileTitle}','${fileExtension}', 'formacion')" href="${fileText.file.getData()}" target="_blank">
902 <span>${fileText.getData()}</span>
903 <span class="file"> (${file.getMimeType()?keep_after_last("/")?upper_case} ${file.getSize()[0..(file.getSize()?length - 4)]}Kb)</span>
904 </a>
905 </li>
906 </#if>
907 </#list>
908
909
910 </#if>
911 </ul>
912 </#if>
913
914 <#if materialsAndDownloadsText.zipFile.getData()?? && materialsAndDownloadsText.zipFile.getData() != "">
915 <#assign documentJson=jsonFactoryUtil.createJSONObject(materialsAndDownloadsText.zipFile.data) />
916 <#assign fileTitle = documentJson.title />
917 <#assign mimeType = documentJson.extension />
918 <p class="center">
919 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download" viewBox="0 0 16 16">
920 <path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
921 <path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
922 </svg>
923 <a onClick="addDownloadGTMEvent('${fileTitle}','${mimeType}', 'formacion')" href="${materialsAndDownloadsText.zipFile.getData()}" class="font-xtra-small download card-button-green color-caixa-green background-white">
924 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.download.all")}
925 </a>
926 </p>
927 </#if>
928 </#if>
929
930 <#-- Register content only for training-->
931 <#if tipo.getData()?? && tipo.getData() == "training">
932 <#if journalArticleLocalService.fetchArticle(groupId, "CAPTACION_FORMACION") ??>
933 <#assign register = journalArticleLocalService.getArticle(groupId, "CAPTACION_FORMACION")/>
934 <#if register?? && register != "">
935 <#assign registerContent = journalArticleLocalService.getArticleContent(register, register.DDMTemplateKey, "VIEW", themeDisplay.getLocale(),NULL, themeDisplay) />
936 </#if>
937 <#assign registerContent = journalArticleLocalService.getArticleContent(register, register.DDMTemplateKey, "VIEW", themeDisplay.getLocale(),NULL, themeDisplay) />
938 ${registerContent}
939 </#if>
940 </#if>
941 </div>
942
943
944 <#-- <#if isOnlineEnable == true >
945 <div class="avisoLegal">
946 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.formacion.webinar.edutalks.avisolegal.description")}
947 </div>
948 </#if>-->
949
950
951 </div>
952 </div>
953 </div>
954
955
956
957 <#macro isPre itinerancies>
958 <#list itinerancies.getSiblings() as itinerancy>
959 <#if validator.isNotNull(itinerancy.endDateItinerancy.getData())>
960 <#assign endDate = dateUtil.parseDate("yyyy-MM-dd", itinerancy.endDateItinerancy.getData(), locale)>
961 <#if !UtilsService.isExpired(endDate)>
962 <#assign isPre = true />
963 <#return>
964 </#if>
965 </#if>
966 </#list>
967 <#assign isPre = false />
968 </#macro>
969
970 <script>
971 $( document ).ready(function() {
972 initAddThis();
973 $("a.header-back-to").attr('onClick','');
974 $("a.header-back-to").attr("href","/es/landing-formacion");
975 <#if language=='ca_ES'>
976 $("a.header-back-to").attr("href","/ca/landing-formacio");
977 </#if>
978
979
980 var altura = $(".box-img.square.square-mob.col-lg").innerHeight();
981 altura=parseInt(altura) + 50;
982 $(".ficha_formacion > .container.vertical.image-view").css("min-height",altura+"px");
983
984 $('a[name="button-inscribe"]').click(function() {
985 let platformName = $(this).attr("href");
986 let category="${titleEscaped}";
987 addSubscriptionGTMEvent(platformName, category);
988 });
989
990 $('a[name="video-link"]').click(function() {
991 let fileName=$(this).attr("data-file");
992 let fileFormat="youtube";
993 let category="formacion-video";
994 addVideoGTMEvent(fileName, fileFormat, category);
995 });
996
997 $('a[name="download-link"]').click(function() {
998 let fileName = $(this).attr("data-file");
999 let fileFormat=$(this).attr("data-extension");
1000 let category="formacion-download";
1001 addDownloadGTMEvent(fileName, fileFormat, category);
1002 });
1003
1004 $('a[name="document-link"]').click(function() {
1005 let fileName = $(this).attr("data-file");
1006 let fileFormat=$(this).attr("href");
1007 let category="formacion-external-document";
1008 addDocumentGTMEvent(fileName, fileFormat, category);
1009 });
1010
1011
1012 $( "#videoModal .close" ).click(function() {
1013 $('#yt-modal').each(function(){
1014 this.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}', '*')
1015 });
1016 });
1017
1018
1019 });
1020
1021 </script>
1022
1023 <style>
1024
1025
1026 .modal-open #videoModal { display:block !important; }
1027
1028 .modal-open #wrapper .portlet-boundary_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_ .asset-full-content.clearfix.mb-5.default-asset-publisher {
1029 z-index:inherit;
1030 }
1031
1032 .ficha_formacion a.link-button-inscribe+a.link-button-inscribe {
1033 margin-left: 15px;
1034 }
1035
1036 .green-line .col-lg-7.col-sm{
1037 margin-bottom: 64px;
1038 }
1039
1040 .col-lg-3.image {
1041 margin-top: 5%;
1042 height: 130px;
1043 }
1044
1045 .profile {
1046 position: absolute;
1047 margin-top: 0%;
1048 }
1049 img.profile {
1050 position: relative;
1051 }
1052 .bloque ul{
1053 list-style: none;
1054 }
1055
1056 .yt-video-wrapper iframe {
1057 position: absolute;
1058 top: 0;
1059 left: 0;
1060 width: 100%;
1061 height: 100%;
1062 }
1063 .image-wrapper, .video-wrapper, .yt-video-wrapper {
1064 position: relative;
1065 }
1066 .yt-video-wrapper {
1067 position: relative;
1068 padding-bottom: 56.25%;
1069 padding-top: 25px;
1070 height: 0;
1071 }
1072
1073 .row.three ul.descargas {
1074 list-style-type: none;
1075 margin-top: 10px;
1076 margin-bottom: 25px;
1077 }
1078
1079 .descargas span.mat-and-down-text {
1080 text-decoration: underline;
1081 color: #0FB158;
1082 }
1083
1084 .descargas span.file {
1085 color: #0FB158;
1086 }
1087 .objetivo{
1088 color: #0FB158;
1089
1090 }
1091 a.font-xtra-small.download {
1092 /* margin-bottom: 25px; */
1093 padding: 15px;
1094 }
1095
1096 .row.three .center{
1097 margin-bottom: 25px;
1098 }
1099
1100 .bullet-bloque {
1101 /*margin-top: 60px;*/
1102 }
1103
1104 .journal-content-article .profile {
1105 display: block;
1106 }
1107
1108 .box-img.square a.link-button-inscribe {
1109 border: 1px solid #0FB158;
1110 border-radius: 15px;
1111 width: 123px;
1112 line-height: 35px;
1113 color: #0FB158;
1114 padding: 11px;
1115 /*margin-left: 10%;*/
1116 cursor:pointer;
1117 cursor: hand;
1118 }
1119
1120 #inscribete-conferencia .date-input div[role=alert]{
1121 position: absolute;
1122 }
1123
1124 #inscribete-conferencia .date-input{
1125 margin-bottom: 0px;
1126 }
1127
1128 #inscribete-conferencia .input-select-wrapper label + select{
1129 margin-left: 5px;
1130 margin-top: -5px;
1131 }
1132 .video { position: relative; }
1133
1134
1135 .video a {
1136 position: absolute;
1137 display: block;
1138 height: 80px;
1139 width: 80px;
1140 top: 45%;
1141 left: 45%;
1142 }
1143
1144 .crop{
1145 width: 900px;
1146 height: 548px;
1147
1148 }
1149
1150 .modal{
1151 width: 100%;
1152 height: 100%;
1153 }
1154 .modal-content{
1155 background-color: white;
1156 margin: auto;
1157 padding: 20px;
1158 border: 0px solid white;
1159 width: 100%;
1160 height: 70%;
1161 border-radius: 15px;
1162 overflow: initial;
1163 min-height: 110px;
1164 }
1165 .close {
1166 margin-left: 96% !important;
1167 }
1168
1169 .box{
1170 display: inline-block !important;
1171 width: fit-content !important;
1172 }
1173
1174 .price-wrapper {
1175 background-color: black;
1176 color: white;
1177 padding: 5px;
1178 border-radius: 5px;
1179 }
1180
1181 @media(min-width: 992px) {
1182 .captacion-ficha {
1183 padding-left: 100px;
1184 }
1185 }
1186
1187 .avisoLegal {
1188 width: 57rem;
1189 }
1190
1191 .avisoLegal a {
1192 color: black;
1193 }
1194
1195 @media (max-width: 1199px) {
1196 .avisoLegal {
1197 width: 47.5rem;
1198 }
1199 }
1200
1201 @media (max-width: 991px) {
1202 .avisoLegal {
1203 margin-top: 20px;
1204 width: 35.5rem;
1205 }
1206 }
1207
1208 .contenido-dcha-item > span {
1209 width: 100%;
1210 height: 1px;
1211 display: inline-block;
1212 }
1213 .asset-full-content.clearfix.mb-5.default-asset-publisher.no-title > .align-items-center.d-flex.mb-2 {
1214 max-width: 1140px;
1215 margin: 0 auto;
1216 margin-bottom: 0px;
1217 margin-top:20px;
1218 }
1219
1220 p.component-title.h4 span.header-back-to > a.taglib-icon::after {
1221 content: "${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.atras")}";
1222 color:#009AD8;
1223 }
1224
1225
1226 .asset-full-content.clearfix.mb-5.default-asset-publisher.no-title > .align-items-center.d-flex.mb-2 .lexicon-icon.lexicon-icon-angle-left {
1227 fill: #009AD8;
1228 width: 15px;
1229 height: 15px;
1230 margin-right: 10px;
1231 }
1232 .container.vertical.image-view.ficha-evidencias .box-img.col-lg.square {
1233 box-shadow: 1px 1px 8px #d0d0d0;
1234 }
1235
1236 .has-control-menu .lfr-asset-anchor {
1237 display:inline-block;
1238 }
1239 .journal-content-article a:not([class]) {
1240 color: #006fe7;
1241 }
1242 .journal-content-article a:not([class]):hover {
1243 color: #0056b3;
1244 }
1245 .journal-content-article {
1246 font-size: 17px;
1247 line-height: 27px;
1248 }
1249</style>
Valoració mitjana global sobre 5
Basada en 1 valoracions
Veure tots els comentaris
rossdelmonte rossdelmonte
24/04/2024