Petits talents científics 2018 2019
S'ha produït un error mentre es processava la plantilla.
Can't convert this string to number: "educaixa.org" The blamed expression: ==> x?number [in template "76121110924137#32361#FORMACION_PROFESORADO" at line 398, column 76] ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign groupId = x?number [in template "76121110924137#32361#FORMACION_PROFESORADO" at line 398, column 57] ----
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 valoracionesDisplay = serviceLocator.findService("com.educaixa.services.service.RatingStatsLocalService")/>
8<#assign LiteralsToolsServiceUtil = serviceLocator.findService("com.aqua.literals.util.LiteralsToolsService")/>
9<#assign language = themeDisplay.getLocale()/>
10<#assign groupId = themeDisplay.getScopeGroupId()/>
11<#assign restultsLiteral = LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.common.link.resultados") />
12<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()>
13<#assign httpServletRequest = serviceContext.getRequest() />
14<#assign UserBookmarkLocalService = serviceLocator.findService("com.educaixa.services.service.UserBookmarkLocalService") />
15
16<#assign article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), .vars['reserved-article-id'].data) />
17<#assign asset = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", article.resourcePrimKey) />
18
19<#-- get the results URL and valoration value-->
20<#assign results_url = "${themeDisplay.getPortalURL()}/${locale.getLanguage()}${restultsLiteral}?q=" />
21<#assign valoracionesDisplayAverage = 0/>
22<#if valoracionesDisplay.fetchByResourcePK(scopeGroupId,themeDisplay.getCompanyId(),article.getResourcePrimKey()) ??>
23 <#assign valoracionesDisplayValue = valoracionesDisplay.findByResourcePK(scopeGroupId,themeDisplay.getCompanyId(),article.getResourcePrimKey()) />
24 <#assign valoracionesDisplayAverage = valoracionesDisplayValue.getAverageGlobalScore() />
25</#if>
26
27<#assign journalArticleId = .vars['reserved-article-id'].data/>
28<#assign userId =themeDisplay.getUserId()/>
29<#assign isUserBookmark = UserBookmarkLocalService.isUserBookmark(themeDisplay.getCompanyId(),userId,journalArticleId,groupId)/>
30
31<#-- Escape title text -->
32<#assign titleEscaped = "" />
33<#if title.getData()??>
34 <#assign titleEscaped = title.getData()?replace('<p>','','r')/>
35 <#assign titleEscaped = titleEscaped?replace('</p>','','r')/>
36 <#assign titleEscaped = titleEscaped?replace('<div>','','r')/>
37 <#assign titleEscaped = titleEscaped?replace('</div>','','r')/>
38 <#assign titleEscaped = titleEscaped?replace('<h1>','','r')/>
39 <#assign titleEscaped = titleEscaped?replace('</h1>','','r')/>
40</#if>
41
42<#assign subtituloEscaped = "" />
43<#if subtitle.getData()??>
44 <#assign subtituloEscaped = subtitle.getData() />
45 <#assign subtituloEscaped = subtituloEscaped?replace('<p>','','r')/>
46 <#assign subtituloEscaped = subtituloEscaped?replace('</p>','','r')/>
47</#if>
48
49<#-- get image alt -->
50<#-- En PCC no viene ningun alt informado -->
51<#assign altImage = titleEscaped />
52
53<#-- get image banner -->
54<#if bannerImage?? && bannerImage.getData()?? && bannerImage.getData() != "">
55 <#assign imageSrc = bannerImage.getData() />
56 <#else>
57 <#assign imageSrc = "/o/educaixa-theme/images/blured-lights-actividades.png" />
58</#if>
59
60<#assign thesaurusCategories = UtilsService.getThesaurusCategories(asset) />
61<#assign tagsCategories = UtilsService.getTagsCategories(asset) />
62<#assign categories = thesaurusCategories + tagsCategories />
63
64<#assign itinerancesActive = UtilsService.getDateRelatedItinerancia(journalArticleId,themeDisplay) />
65<#assign itinerances = UtilsService.getRelatedItinerancia(journalArticleId,themeDisplay) />
66
67<#-- Login -->
68<#assign is_signed_in = themeDisplay.isSignedIn()/>
69<#assign plid = portalUtil.getPlidFromPortletId(themeDisplay.getScopeGroupId(), "EducaixaMyeducaixaLogin") />
70<#assign loginURL = portletURLFactory.create(httpServletRequest, "EducaixaMyeducaixaLogin", plid, "RENDER_PHASE") />
71${loginURL.setParameter("mvcPath", "/login_modal.jsp")}
72${loginURL.setWindowState("POP_UP")}
73
74<#assign isAlumno = false />
75<#if is_signed_in>
76 <#assign isAlumno = UtilsService.isAlumno(themeDisplay.getUserId()) />
77</#if>
78
79<#-- Centers -->
80<#assign plidCenter = portalUtil.getPlidFromPortletId(themeDisplay.getScopeGroupId(), "com_educaixa_planner_portlet_plannerbuilder_PlannerBuilderActivityListPortlet") />
81<#assign centersURL = portletURLFactory.create(httpServletRequest, "com_educaixa_planner_portlet_plannerbuilder_PlannerBuilderActivityListPortlet", plidCenter, "RENDER_PHASE") />
82${centersURL.setParameter("mvcRenderCommandName", "choose_center")}
83${centersURL.setWindowState("POP_UP")}
84${centersURL.setParameter("articleId", journalArticleId)}
85
86
87<#assign nivel_educativo_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Nivel educativo").getVocabularyId() />
88<#assign area_conocimiento_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Área de conocimiento").getVocabularyId() />
89<#assign competencias_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Competencias clave").getVocabularyId() />
90<#assign tipo_actividad_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Tipo de actividad").getVocabularyId() />
91<#assign idiomas_vocabularyId = assetVocabularyLocalService.getGroupVocabulary(groupId, "Idiomas disponibles").getVocabularyId() />
92
93<#assign language = themeDisplay.getLocale()/>
94<#assign nivel_educativo = []>
95<#assign area_conocimiento = []>
96<#assign competencias = []>
97<#assign objectius = []>
98<#assign idiomas = []>
99<#assign tipoActividad = []>
100
101<#list asset.getCategories() as cur_category>
102 <#if cur_category.vocabularyId == nivel_educativo_vocabularyId>
103 <#assign nivel_educativo = nivel_educativo + [cur_category.getTitle(language)]>
104 <#elseif cur_category.vocabularyId == area_conocimiento_vocabularyId>
105 <#assign area_conocimiento = area_conocimiento + [cur_category.getTitle(language)]>
106 <#elseif cur_category.vocabularyId == competencias_vocabularyId>
107 <#assign competencias = competencias + [cur_category.getTitle(language)]>
108 <#elseif cur_category.vocabularyId == tipo_actividad_vocabularyId>
109 <#assign tipoActividad = tipoActividad + [cur_category.getDescription(language)]>
110 <#elseif cur_category.vocabularyId == idiomas_vocabularyId>
111 <#assign idiomas = idiomas + [cur_category.getTitle(language)]>
112 </#if>
113</#list>
114
115
116<#-- Identificador symphony itinerante -->
117<#assign symphonyActivityId = propsUtil.get("symphony.fblcActivityId") />
118
119<#-- button plan -->
120<#assign CentersService = serviceLocator.findService("com.educaixa.planner.core.activitylist.service.CenterService")/>
121<#assign hasCentersToPlan = CentersService.hasCentersToPlan(journalArticleId, themeDisplay)/>
122<#-- -->
123
124<#if FBLCID.getData()??>
125 <#assign currentActivityId = FBLCID.getData()?replace(' ', '') />
126</#if>
127
128<#-- W-664 START -->
129<#assign activityType = LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.actividad")/>
130
131<#if tipoActividad?size != 0 >
132 <#assign activityType = tipoActividad[0] />
133</#if>
134
135<#assign titlesActivityTest = LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.exposicion.permanente.list") />
136<#if titlesActivityTest?has_content>
137<#assign titlesActivityList = titlesActivityTest?split(",") />
138<#assign titleEscapedUC = titleEscaped?lower_case />
139</#if>
140<#list titlesActivityList as titleTest>
141 <#assign titleTestUC = titleTest?lower_case />
142 <#if titleEscapedUC==titleTestUC>
143 <#assign activityType = LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.exposicion.permanente") />
144 </#if>
145</#list>
146<#-- W-664 END -->
147
148
149
150<div class="ficha_actividad tpl_global_styles">
151 <div class="container vertical image-view">
152 <div class="image-section">
153 <img src="${imageSrc}" alt="${altImage}" width="900px" height="458px" class="video-player">
154
155 </div>
156 <div class="box-img col-lg square">
157 <div class="inner-flex-section1">
158 <label id="added_label" class="card-course__tag hide">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.PLANNER.ACTIVITY.TAG.ADDED")}</label>
159 <span class="box-img-pre-rec" style="color: #4176DB;">${activityType} </span>
160 <#-- <p class="box-img-pre-rec" style="color: #4176DB;">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.actividad")}</p> -->
161 <#if title?has_content>
162 <h1 class="box-img-title-rec">${titleEscaped}</h1>
163 </#if>
164 <#if subtitle?has_content>
165 <p class="box-img-sub-title-rec">${subtituloEscaped}</p>
166 </#if>
167 </div>
168 <div class="inner-flex-section2">
169
170 <div class="element-inner-section">
171 <div class="element-inner-section_ico"><img src="/o/educaixa-theme/images/actividad/price-tag.svg" /></div>
172 <div class="element-inner-section_label"><label id="precio-label">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.precio")}:</label></div>
173 <div class="element-inner-section_value">
174 <span id="precio-actividad"></span>
175 <span id="actividad-obligatoria" style="display:none;">
176 ${LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.ACTIVIDAD.ENTRADA.MUSEO")}
177 </span>
178 </div>
179 </div>
180
181 <div class="element-inner-section" id="promociones">
182 <div class="element-inner-section_ico"><img src="/o/educaixa-theme/images/actividad/promotions.svg"/></div>
183 <div class="element-inner-section_label"><label id="promociones-label">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.promociones")}:</label></div>
184 <div class="element-inner-section_value"><span id="promociones-actividad">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.promociones.consulta")}</span>
185 <div style="display:none;" class="tooltip-promociones" id="tooltip-promociones">
186 </div>
187 </div>
188 </div>
189
190 </div>
191 <div class="inner-flex-section3">
192
193 <div class="element-inner-section">
194 <div class="element-inner-section_ico"><img src="/o/educaixa-theme/images/actividad/people.svg" /></div>
195 <div class="element-inner-section_label"><label id="aforo-label">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.aforo")}:</label></div>
196 <div class="element-inner-section_value"><span id="aforo-value">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.aforo.grupo.clase")}</span></div>
197 </div>
198
199 <div class="element-inner-section">
200 <div class="element-inner-section_ico">
201 <img src="/o/educaixa-theme/images/actividad/time.svg" />
202 </div>
203 <div class="element-inner-section_label"><label id="duracion-label">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.actividad.duracion")}:</label></div>
204 <div class="element-inner-section_value"><span id="duracion-value">
205 <#if activityDuration?? && activityDuration.getData() != "">
206 ${activityDuration.getData()}
207 </#if>
208 </span></div>
209 </div>
210 <#--<p class="box-img-price"><br>
211 <#if activityDuration?? && activityDuration.getData() != "">
212 ${activityDuration.getData()} <br>
213 </#if>
214 <#if itinerancesActive && !isAlumno>
215 <p id="centro-preferente"></p>
216 <a href="#reservar" style="color: black;">
217 <p class="box-img-more">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.actividad.mas.fechas")}</p>
218 </a>
219 </#if>
220 </p> -->
221 <div class="panel__footer">
222 <div class="card-actions flex">
223 <div class="statistics">
224 <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>
225 <path class="circle-bg" d="M18 2.0845
226 a 15.9155 15.9155 0 0 1 0 31.831
227 a 15.9155 15.9155 0 0 1 0 -31.831"></path>
228 <path class="circle" stroke-dasharray="${valoracionesDisplayAverage*20}, 100" d="M18 2.0845
229 a 15.9155 15.9155 0 0 1 0 31.831
230 a 15.9155 15.9155 0 0 1 0 -31.831"></path>
231 <text x="18" y="22" class="percentage">${valoracionesDisplayAverage}</text>
232 </svg>
233 </div>
234 <div class="share">
235 <button id="share" class="no-min-width"></button>
236 <div class="a2a_kit a2a_kit_size_32 a2a_default_style tooltip" data-a2a-title="${titleEscaped}" data-a2a-icon-color="#009AD8">
237 <a class="a2a_button_facebook"></a>
238 <a class="a2a_button_x"></a>
239 <a class="a2a_button_whatsapp"></a>
240 <a class="a2a_button_email"></a>
241 </div>
242 </div>
243 <div class="bookmark">
244 <#if is_signed_in>
245 <#if isUserBookmark>
246 <button id="bookmark" onClick="updateUserBookmark(${journalArticleId},false);" data-articleid="${journalArticleId}" class="bookmark bookmarked no-min-width"></button>
247 <#else>
248 <button id="bookmark" onClick="updateUserBookmark(${journalArticleId},true);" data-articleid="${journalArticleId}" class="bookmark no-min-width"></button>
249 </#if>
250 <#else>
251 <button id="bookmark" class="no-min-width" onClick="event.stopPropagation();openPopup('${loginURL}','','500', '650')"></button>
252 </#if>
253 </div>
254 </div>
255 </div>
256 <#--<div id="msg_add_center" class="hide mt-2">
257 <i class="fa fa-info-circle pr-2"></i>
258 <small>${LiteralsToolsServiceUtil.getLiteral(groupId, language, "COM.EDUCAIXA.PLANNER.ACTIVITY.PLAN.SELECTED.ACTIVITY")}</small>
259 </div>-->
260
261 </div>
262
263 </div>
264
265 </div>
266
267 <#-- Categories section-->
268 <div class="container vertical info-view section-cat-info">
269 <div class="row">
270 <#if nivel_educativo?size != 0 >
271 <div class="col-lg col-xs-6 col-sm">
272 <div class="titular-section">
273 <div class="icon-element"><img src="/o/educaixa-theme/images/actividad/graduation.svg"></div>
274 <h2 class="purple-title" style="color: #4176DB;">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.nivel.educativo")}</h2>
275 </div>
276 <#assign levels = educationLevel.getData()?replace("<p>", "<li class=\"marked\">") />
277 <#assign levels = levels?replace("</p>", "</li>") />
278 <ul>
279 ${levels}
280 </ul>
281 </div>
282 </#if>
283 <#if area_conocimiento?size != 0 >
284 <div class="col-lg col-xs-6 col-sm">
285 <div class="titular-section">
286 <div class="icon-element"><img src="/o/educaixa-theme/images/actividad/book.svg"></div>
287 <h2 class="purple-title" style="color: #4176DB;">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.area.conocimiento")}</h2>
288 </div>
289 <ul>
290 <#list area_conocimiento as item>
291 <li class="marked">${item}</li>
292 </#list>
293 </ul>
294 </div>
295 </#if>
296 <#if area_conocimiento?size != 0 >
297 <div class="col-lg col-xs-6 col-sm">
298 <div class="titular-section">
299 <div class="icon-element"><img src="/o/educaixa-theme/images/actividad/knowledge.svg"></div>
300 <h2 class="purple-title" style="color: #4176DB;">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.competencias")}</h2>
301 </div>
302 <ul>
303 <#list competencias as item>
304 <li class="marked">${item}</li>
305 </#list>
306 </ul>
307 </div>
308 </#if>
309 <#--
310 <#if activityDuration?? && activityDuration.getData() != "" >
311 <div class="col-lg col-xs-6 col-sm">
312 <h2 class="purple-title" style="color: #4176DB;">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.ficha.duracion")}</h2>
313 <ul>
314 <li class="marked">${activityDuration.getData()}</li>
315 </ul>
316 </div>
317 </#if>
318 <#if idiomas?size != 0 >
319 <div class="col-lg col-xs-6 col-sm">
320 <h2 class="purple-title" style="color: #4176DB;">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.recurso.idioma")}</h2>
321 <ul>
322 <#list idiomas as item>
323 <li class="marked">${item}</li>
324 </#list>
325 </ul>
326 </div>
327 </#if>
328
329 -->
330 </div>
331 <hr class="line-12" style="border: 1px solid #4176DB;">
332 </div>
333
334 <section class="informacion-centro-horario">
335 <div class="container">
336 <div class="row">
337 <!-- Next sessions -->
338 <@liferay_portlet["runtime"] portletName="com_educaixa_planner_portlet_plannerbuilder_NewPlannerNextSessionsPortlet"
339 queryString="fblcActivityId=" + currentActivityId + "&journalArticleId=" + journalArticleId/>
340 <!-- End Next sessions -->
341
342 </div>
343 </div>
344 </section>
345
346 <section class="section-content-objetivos">
347 <div class="container">
348 <div class="row">
349
350 <div class="col-md-7">
351 <#if description.getData() ?? && description.getData() != "">
352 <p>${description.getData()}</p>
353 </#if>
354 </div>
355 <div class="col-md-5 gray-bg">
356 <h3>${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.actividad.objetivos")}</h3>
357 <#list objective.getSiblings() as objective_item>
358 ${objective_item.getData()}
359 </#list>
360 </div>
361 </div>
362 </div>
363 </section>
364
365
366 <#assign materialesAdded = 0 />
367 <#assign documents = 0 />
368 <#assign fileUrls = 0 />
369
370 <#if document?? && document.getData() ?? && document.getData() != "" && document.getSiblings()?has_content && document.getSiblings()?size gt 0>
371 <#assign documents = document.getSiblings()?size />
372 </#if>
373
374 <#if fileURL?? && fileURL.getData() ?? && fileURL.getData() != "" && fileURL.getSiblings()?has_content && fileURL.getSiblings()?size gt 0>
375 <#assign fileUrls = fileURL.getSiblings()?size />
376 </#if>
377
378 <#assign documentSize = documents + fileUrls/>
379
380 <#if document?? && document.getData() ?? && document.getData() != "" && document.getSiblings()?has_content && document.getSiblings()?size gt 0>
381 <#list document.getSiblings() as cur_document>
382 <#if cur_document?? && cur_document.getData()?? && cur_document.getData() != "">
383 <#if materialesAdded == 0 >
384 <section class="materias-y-descargas">
385 <div class="container">
386 <h2>${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.materiales.descargas")}</h2>
387 <div class="materias-y-descargas_descripcion">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.materiales.descargas.descripcion")}</div>
388 <div class="row">
389
390 <div class="col-md-12 materiales-descarga__vertical">
391 <div class="row materiales-descarga__section size-${documentSize}">
392 </#if>
393
394 <div class="materiales-descarga__vertical">
395 <#assign counter = 0 >
396 <#list cur_document.getData()?split("/") as x>
397 <#if x?counter == 3>
398 <#assign groupId = x?number>
399 </#if>
400 <#if x?counter == 6>
401 <#assign uuId = x?keep_before("?")>
402 </#if>
403 <#assign counter = counter+1 >
404 </#list>
405 <#assign file=dLFileEntryLocalService.getFileEntryByUuidAndGroupId(uuId,groupId) >
406
407 <#assign iconExtension = file.getExtension() />
408
409 <div class="materias-y-descargas__content">
410 <a href="${cur_document.getData()}">
411 <span class="ico-detalle ${iconExtension?replace(' ','')}">
412 <img src="/o/educaixa-theme/images/iconpack/${iconExtension?replace(' ','')}.svg"/>
413 </span>
414 <span>${file.getTitle()}<br><span>[ ${file.getExtension()?upper_case}${file.getSize()/1000} Kb ]</span><span class="arrow-next"></span></span>
415 </a>
416 </div>
417 </div>
418 <#assign materialesAdded += 1 />
419 </#if>
420 </#list>
421 </#if>
422 <#if fileURL?? && fileURL.getData() ?? && fileURL.getData() != "" && fileURLText?? && fileURLText.getData() ?? && fileURLText.getData() != "">
423 <#list fileURL.getSiblings() as file_url>
424 <#if file_url.getData()?? && file_url.getData() != "">
425 <#if materialesAdded == 0 >
426 <section class="materias-y-descargas">
427 <div class="container">
428 <h2>${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.materiales.descargas")}</h2>
429 <div class="materias-y-descargas_descripcion">${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.seccion.materiales.descargas.descripcion")}</div>
430 <div class="row">
431
432 <div class="col-md-12 materiales-descarga__vertical">
433 <div class="row materiales-descarga__section size-${documentSize}">
434 </#if>
435 <div class="materiales-descarga__vertical">
436 <div class="materias-y-descargas__content">
437 <a href="${file_url.getData()}">
438 <span class="ico-detalle">
439 <img src="/o/educaixa-theme/images/iconpack/link.svg"/>
440 </span>
441 <span>${(fileURLText.getSiblings()[file_url?index]).getData()}<span class="arrow-next"></span></span>
442 </a>
443 </div>
444 </div>
445 <#assign materialesAdded += 1 />
446 </#if>
447 </#list>
448 </#if>
449 <#if materialesAdded gt 0 >
450 </div>
451 </div>
452 </div>
453 </div>
454 </section>
455 </#if>
456
457
458<@liferay_portlet["runtime"] portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet" />
459
460
461<script>
462
463$("document").ready(function(){
464 initAddThis();
465 $("a.header-back-to").attr('onClick','');
466 $("a.header-back-to").attr("href","/es/landing-actividades");
467 <#if language=='ca_ES'>
468 $("a.header-back-to").attr("href","/ca/landing-activitats");
469 </#if>
470
471
472 $("div#centro-itinerante-info-popup .close-popup").click(function(){
473
474 $("body").removeClass("showPopup-informacionAdicional");
475 });
476
477 $("#centro-itinerante-label").click(function(){
478
479 $("body").toggleClass("showPopup-informacionAdicional");
480
481 });
482
483
484 $('<div class="center-selection-container-trick"><div id="select-center"></div><div id="select-center-dropdown" style="display:none;"></div><div class="close-slect-center"></div></div>').appendTo("#center-selection .form-group.input-select-wrapper");
485
486var changerElement=$("#select-center");
487var cont=0;
488$("#_com_educaixa_planner_portlet_plannerbuilder_NewPlannerNextSessionsPortlet_centro option").each(function(){
489var element=$(this);
490var text=element.text();
491var value=element.attr("value");
492
493if(element.is(':selected')) {
494$('<div data-item="'+value+'" class="item-'+value+'">'+text+'</div>').appendTo(changerElement);
495
496}
497 $('<div data-item="'+value+'" class="item-'+value+'">'+text+'</div>').appendTo("#select-center-dropdown");
498
499
500
501
502});
503
504$("#select-center").click(function(){
505 if($(this).hasClass("show-select")){
506 $(this).removeClass("show-select");
507 }else {
508 $(this).addClass("show-select");
509 }
510
511});
512
513$("div#select-center-dropdown > div").click(function(){
514
515 var elementAttr=$(this).data("item");
516 var elemenetText=$(this).text();
517 $("#select-center > div").text(elemenetText);
518 $("#select-center > div").attr("class","item-"+elementAttr);
519 $("#select-center > div").data("item",elementAttr);
520 //changeCenterInfo(elementAttr);
521 $("#_com_educaixa_planner_portlet_plannerbuilder_NewPlannerNextSessionsPortlet_centro").val(""+elementAttr).change();
522 $("#select-center-dropdown").val(elementAttr).change();
523 $("#select-center").removeClass("show-select");
524});
525
526$(".close-slect-center").click(function(){
527 $("#select-center").removeClass("show-select");
528});
529
530})
531
532</script>
533
534<style>
535.yt-video-wrapper iframe {
536 position: absolute;
537 top: 0;
538 left: 0;
539 width: 100%;
540 height: 100%;
541}
542.image-wrapper, .video-wrapper, .yt-video-wrapper {
543 position: relative;
544}
545.yt-video-wrapper {
546 position: relative;
547 padding-bottom: 56.25%;
548 padding-top: 25px;
549 height: 0;
550}
551.contenido-dcha-item > span {
552 width: 100%;
553 height: 1px;
554 display: inline-block;
555}
556.asset-full-content.clearfix.mb-5.default-asset-publisher.no-title > .align-items-center.d-flex.mb-2 {
557 max-width: 1140px;
558 margin: 0 auto;
559 margin-bottom: 0px;
560 margin-top:20px;
561}
562
563p.component-title.h4 span.header-back-to > a.taglib-icon::after {
564 content: "${LiteralsToolsServiceUtil.getLiteral(groupId, language, "com.educaixa.atras")}";
565 color:#009AD8;
566}
567
568
569.asset-full-content.clearfix.mb-5.default-asset-publisher.no-title > .align-items-center.d-flex.mb-2 .lexicon-icon.lexicon-icon-angle-left {
570 fill: #009AD8;
571 width: 15px;
572 height: 15px;
573 margin-right: 10px;
574}
575.container.vertical.image-view.ficha-evidencias .box-img.col-lg.square {
576 box-shadow: 1px 1px 8px #d0d0d0;
577}
578@media (max-width: 768px) {
579
580 .portlet-asset-publisher .asset-content img, .portlet-asset-publisher .asset-full-content img{
581 height:auto;
582 }
583
584}
585
586.ficha_actividad.tpl_global_styles div#centro-itinerante-label::before {
587 background-image: url(/o/educaixa-theme/images/info.svg);
588}
589
590div#select-center::after {
591 content: "";
592 width: 10px;
593 height: 10px;
594 border-left: 1px solid #000;
595 border-bottom: 1px solid #000;
596 position: absolute;
597 right: -22px;
598 top: 50%;
599 transform: rotate(-45deg);
600 margin-top: -8px;
601}
602.ficha_actividad.tpl_global_styles .center-selection-container-trick::after {
603 opacity:0;
604}
605.ficha_actividad.tpl_global_styles div#select-center::before {
606 content: "";
607 position: absolute;
608 width: 45px;
609 right: -40px;
610 top: -10px;
611 height: 49px;
612 z-index: 0;
613}
614section.materias-y-descargas span.ico-detalle {
615 max-width: 45px;
616 min-width: 45px;
617
618}
619
620html .ficha_actividad.tpl_global_styles span#precio-actividad span.price-5 {
621 font-size: 25px;
622}
623html .ficha_actividad.tpl_global_styles span#precio-actividad span.price-6 {
624 font-size: 19px;
625 position: relative;
626 top: -4px;
627}
628
629
630/*
631
632.ficha_actividad.tpl_global_styles .owl-stage-outer {
633 z-index: 2;
634 margin: 0 auto;
635}
636
637.ficha_actividad.tpl_global_styles button.owl-next.disabled {
638 opacity: 0.5 !important;
639}
640
641
642#calendar-sessions .owl-carousel .owl-stage {
643 overflow:hidden;
644 max-height: 150px;
645}
646
647
648@media (max-width: 1200px) {
649 .ficha_actividad.tpl_global_styles div#center-schedule {
650 min-width:550px;
651 }
652
653}
654
655.ficha_actividad.tpl_global_styles div#center-schedule {
656 min-width:410px;
657}
658.ficha_actividad.tpl_global_styles .col-md-5.gray-bg > p::after {
659 content: "";
660 width: 6px;
661 height: 6px;
662 background-color: #585858;
663 position: absolute;
664 left: 0px;
665 top: 16px;
666 transform: rotate(0deg);
667 border-radius: 50%;
668}
669
670
671
672.materias-y-descargas__content {
673 background-color: #f5f5f7;
674 border-radius: 5px;
675 min-height: 100px;
676 margin-bottom: 15px;
677}
678section.materias-y-descargas span.ico-detalle+span {
679 width: calc(100% - 70px);
680 line-height: 17px;
681 font-size: 14px;
682 padding-right: 70px;
683 position: relative;
684}
685section.materias-y-descargas span.ico-detalle+span span {
686 font-weight: normal !important;
687 font-family: sans-serif;
688 text-transform: none;
689 font-size: 13px;
690 display: inline-block;
691 margin-top: 5px;
692}
693
694
695.col-md-12.materiales-descarga__vertical {
696 padding-left: 0px;
697 padding-right: 0px;
698}
699
700section.materias-y-descargas span.ico-detalle+span span.arrow-next {
701 content: "";
702 width: 30px;
703 height: 30px;
704 background-color: #fff;
705 position: absolute;
706 display: inline-block;
707 top: 50%;
708 right: 25px;
709 margin-top: -12px;
710 border: 1px solid #e8e8e8;
711 border-radius: 5px;
712}
713
714
715section.materias-y-descargas span.ico-detalle+span span.arrow-next::before {
716 content: "";
717 width: 10px;
718 height: 2px;
719 background-color: #646464;
720 position: absolute;
721 top: 12px;
722 left: 8px;
723}
724
725section.materias-y-descargas span.ico-detalle+span span.arrow-next::after {
726 content: "";
727 width: 8px;
728 height: 8px;
729 position: absolute;
730 border-right: 2px solid #646464;
731 border-top: 2px solid #646464;
732 transform: rotate(45deg);
733 top: 9px;
734 left: 10px;
735}
736
737section.materias-y-descargas span.ico-detalle {
738 max-width: 60px;
739 min-width: 60px;
740 text-align: center;
741}
742
743
744section.materias-y-descargas span.ico-detalle img {
745 max-width: 30px;
746}
747
748.row.materiales-descarga__section {
749 display: grid;
750 grid-template-columns: 33.3% 33.3% 33.3%;
751}
752
753.materiales-descarga__vertical {
754 padding-right: 20px;
755 margin-bottom: 20px;
756}
757section.materias-y-descargas .materias-y-descargas__content {
758 position: relative;
759 width: 100%;
760 height: 100%;
761 display: flex;
762}
763
764@media(max-width:991px){
765
766 .row.materiales-descarga__section {
767 grid-template-columns: 50% 50%;
768 }
769
770}
771
772@media(max-width:768px){
773
774 .row.materiales-descarga__section {
775 grid-template-columns: 100%;
776 }
777
778}
779*/
780</style>
Encara no hi ha cap comentari. Sigues el primer a enviar comentaris.
Valoració mitjana global sobre 5
Basada en 0 valoracions