Cursos de formación
Cursos de formación
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> entry.getClassName() [in template "51258#51286#62104" at line 12, column 22] ---- 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: #if entry.getClassName() == "es.arago... [in template "51258#51286#62104" at line 12, column 17] ----
1<#--
2inaem-searcher-results-training: ADT para los resultados de busqueda de cursos formacion
3-->
4<#assign cursosFormacionService = serviceLocator.findService("es.aragon.inaem.indexer.service.api.CursosFormacionService")>
5 <div class="inaem__search-results inaem__search-results-course">
6 <div>
7 <p><@liferay.language key="search-results-first-part" /><strong>${searchContainer.getTotal()} </strong><@liferay.language key="curses" /></p>
8 </div>
9 <#if entries?has_content>
10 <#list entries as entry>
11 <div class="inaem__search-results-course__item">
12 <#if entry.getClassName() == "es.aragon.inaem.indexer.service.model.CursosFormacion">
13 <a href="${entry.getViewURL()}">${entry.getHighlightedTitle()}</a>
14 <#assign curso = cursosFormacionService.getCursoFormacion(entry.getClassPK()) />
15 <#if curso?has_content>
16
17 <#if curso.getCurseType() ?has_content>
18 <#if curso.getCurseType() == 'CENTRO DE TECNOLOGIAS AVANZADAS (CTA)'>
19 <p><@liferay.language key="searcher-training-type" />:<strong>CTA</strong></p>
20 <#elseif curso.getCurseType() == 'CURSOS CENTRO INAEM HUESCA'>
21 <p><@liferay.language key="searcher-training-type" />:<strong>Cursos centro INAEM Huesca</strong></p>
22 <#elseif curso.getCurseType() == 'CURSOS CENTRO INAEM TERUEL'>
23 <p><@liferay.language key="searcher-training-type" />:<strong>Cursos centro INAEM Teruel</strong></p>
24 <#elseif curso.getCurseType() == 'TALLERES DE EMPLEO'>
25 <p><@liferay.language key="searcher-training-type" />:<strong>Talleres de empleo</strong></p>
26 <#elseif curso.getCurseType() == 'ESCUELAS TALLER'>
27 <p><@liferay.language key="searcher-training-type" />:<strong>Escuelas taller</strong></p>
28 <#elseif curso.getCurseType() == 'PROGRAMAS EXPERIENCIALES'>
29 <p><@liferay.language key="searcher-training-type" />:<strong>Programa Experiencial</strong></p>
30 <#elseif curso.getCurseType() == 'CURSOS GENERALES'>
31 <p><@liferay.language key="searcher-training-type" />:<strong>Cursos generales</strong></p>
32 </#if>
33 </#if>
34 <#if curso.getModalidad() ?has_content>
35 <p><@liferay.language key="searcher-training-modality" />:<strong>${curso.getModalidad()}</strong></p>
36 </#if>
37
38 <#if curso.getHorasDGA() ?has_content>
39 <p><@liferay.language key="searcher-training-hours" />:<strong>${curso.getHorasDGA()}</strong></p>
40 </#if>
41
42 <#if curso.getLocalidadCurse() ?has_content>
43 <p><@liferay.language key="searcher-training-locality" />:<strong>${curso.getLocalidadCurse()}</strong></p>
44 </#if>
45 <#if curso.getFhInicio() ?has_content>
46 <p><@liferay.language key="searcher-training-fh-inicio" />:<strong>${curso.getFhInicio()?string["dd/MM/yyyy"]}</strong></p>
47 <#else>
48 <#if curso.getFhPrevista() ?has_content>
49 <p><@liferay.language key="searcher-training-fh-inicio" />:<strong>${curso.getFhPrevista()}</strong></p>
50 </#if>
51 </#if>
52
53 <#if curso.getHorario() ?has_content>
54 <p><@liferay.language key="searcher-training-schedule" />:<strong>${curso.getHorario()}</strong></p>
55 </#if>
56 </#if>
57 </#if>
58 </div>
59 </#list>
60 </#if>
61 </div>