Buscador
Publicaciones, eventos, imágenes...Resultados de la búsqueda.
Produciuse un erro ao procesar o modelo.
The string doesn't match the expected date/time/date-time format. The string to parse was: "10:11, 08/04/26". The expected format was: "d-MMM-yyyy HH:mm".
The nested reason given follows:
Unparseable date: "10:11, 08/04/26"
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign fecha = limpio?datetime("d-MM... [in template "20192#20219#89931890" at line 77, column 105]
----
1<#assign journalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
2<#setting locale="es_ES">
3<div class="c-mb-4 c-mt-4 pl-5 search-total-label">
4 <#if searchContainer.getTotal() = 1>
5 ${languageUtil.format(locale, "x-result-for-x", [searchContainer.getTotal(), "<strong>" + htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>"], false)}
6 <#else>
7 ${languageUtil.format(locale, "x-results-for-x", [searchContainer.getTotal(), "<strong>" + htmlUtil.escape(searchResultsPortletDisplayContext.getKeywords()) + "</strong>"], false)}
8 </#if>
9</div>
10<#assign defaultImagePath = "/documents/d/web-padre/miniatura_default"/>
11
12<div class="welpad_resultados_busqueda d-flex flex-wrap">
13 <#if entries?has_content>
14 <#list entries as curEntry>
15 <#if curEntry.getClassName() = "com.liferay.journal.model.JournalArticle">
16 <#assign ja = journalService.getLatestArticle(curEntry.getClassPK()) />
17 <#assign structure = ja.getDDMStructure() />
18 <#assign structureKey= structure.getStructureKey()/>
19
20 <#assign templateKey = "" />
21 <#if structureKey == "EST_PADRE_NOTICIA">
22 <#assign templateKey = "TPL_PADRE_RESULT_BUSQUEDA_NOTICIAS" />
23 <#elseif structureKey == "EST_PADRE_BLOG">
24 <#assign templateKey = "TPL_PADRE_RESULT_BUSQUEDA_BLOGS" />
25 <#else>
26 <div class="welpad_busqueda col-sm-12 col-md-6 p-0">
27 <div class="welpad_busqueda_tarjeta_art px-4 pb-5" aria-label="Página">
28 <a class="d-block shadow welpad_busqueda_enlace p-4"
29 href="${curEntry.getViewURL()!""}" title="Ir a página">
30 <div class="welpad_busqueda_tarjeta_imagen_art">
31 <img alt="${curEntry.getTitle()?html}" src="${defaultImagePath}" />
32 </div>
33 <div class="welpad_busqueda_tarjeta_texto_art pt-4 rounded-bottom">
34 <p class="welpad_parrafo_1_art welpad_busqueda_tarjeta_titulo_art parrafo_limitado_3 p2 font-weight-bold">${curEntry.getTitle()}</p>
35 <span class="welpad_busqueda_tarjeta_texto_tipoEnlace small p-1 rounded">Artículo de contenido</span>
36 <span class="small p-1">
37 ${layout.getCreateDate()?string("dd/MM/yyyy")}
38 </span>
39 </div>
40 </a>
41 </div>
42 </div>
43 </#if>
44 <#if templateKey?has_content>
45 <div class="welpad_busqueda col-sm-12 col-md-6 p-0">
46 <@liferay_journal["journal-article"]
47 articleId=ja.getArticleId()
48 ddmTemplateKey=templateKey
49 groupId=ja.getGroupId()
50 />
51 </div>
52 </#if>
53 <#elseif curEntry.getClassName() = "com.liferay.document.library.kernel.model.DLFileEntry">
54 <#assign className = curEntry.getClassName() />
55 <#assign classPK = curEntry.getClassPK() />
56 <#assign fileEntry = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService").getDLFileEntry(classPK)/>
57 <#assign mimeType = fileEntry.getMimeType() />
58 <#assign isImage = mimeType?starts_with("image/")/>
59 <#assign defaultImageURL = themeDisplay.getPortalURL() + themeDisplay.getPathContext() + defaultImagePath />
60 <!---- INICIO DOCUMENTO ----->
61 <div class="welpad_busqueda col-sm-12 col-md-6 p-0">
62 <div class="welpad_busqueda_tarjeta_art px-4 pb-5" aria-label="Artículo">
63 <a class="d-block shadow welpad_busqueda_enlace p-4" href="${curEntry.getViewURL()}" title="Descargar multimedia">
64 <div class="welpad_busqueda_tarjeta_imagen_art">
65 <#if isImage>
66 <#assign imageURL = themeDisplay.getPortalURL() + themeDisplay.getPathContext() + "/documents/" + fileEntry.getGroupId() + "/" + fileEntry.getFolderId() + "/" + fileEntry.getTitle() />
67 <img alt="${fileEntry.getTitle()?html}" src="${imageURL}" />
68 <#else>
69 <img alt="${fileEntry.getTitle()?html}" src="${defaultImageURL}" />
70 </#if>
71 </div>
72 <div class="welpad_busqueda_tarjeta_texto_art pt-4 rounded-bottom">
73 <p class="welpad_parrafo_1_art welpad_busqueda_tarjeta_titulo_art parrafo_limitado_3 p2 font-weight-bold">${curEntry.getTitle()}</p>
74 <span class="welpad_busqueda_tarjeta_texto_tipoEnlace small p-1 rounded">Documento</span>
75 <span class="small p-1">
76 <#assign limpio = curEntry.getPublishedDateString() />
77 <#assign fecha = limpio?datetime("d-MMM-yyyy HH:mm") />
78 ${fecha?string("dd/MM/yyyy")}
79 </span>
80 </div>
81 </a>
82 </div>
83 </div>
84
85 <!----- FIN DOCUMENTO -------->
86 <#elseif curEntry.getClassName() = "com.liferay.portal.kernel.model.Layout">
87 <#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
88 <#assign layout = layoutLocalService.fetchLayout(curEntry.getClassPK()) />
89 <#assign portalUtil = serviceLocator.findService("com.liferay.portal.kernel.util.PortalUtil") />
90 <div class="welpad_busqueda col-sm-12 col-md-6 p-0">
91 <div class="welpad_busqueda_tarjeta_art px-4 pb-5" aria-label="Página">
92 <a class="d-block shadow welpad_busqueda_enlace p-4"
93 href="${portalUtil.getLayoutFullURL(layout, themeDisplay)}" title="Ir a página">
94 <div class="welpad_busqueda_tarjeta_imagen_art">
95 <img alt="${curEntry.getTitle()?html}" src="${defaultImagePath}" />
96 </div>
97 <div class="welpad_busqueda_tarjeta_texto_art pt-4 rounded-bottom">
98 <p class="welpad_parrafo_1_art welpad_busqueda_tarjeta_titulo_art parrafo_limitado_3 p2 font-weight-bold">${curEntry.getTitle()}</p>
99 <span class="welpad_busqueda_tarjeta_texto_tipoEnlace small p-1 rounded">Página</span>
100 <span class="small p-1">
101 ${layout.getCreateDate()?string("dd/MM/yyyy")}
102 </span>
103 </div>
104 </a>
105 </div>
106 </div>
107 </#if>
108 </#list>
109 <#else>
110 <!-- Taglib para mostrar mensaje de "sin resultados" -->
111 <p>
112
113 <liferay-ui:search-container-empty-results-message message="No se encontraron resultados para su búsqueda." />
114</p>
115 </#if>
116</div>
117 <style>
118 .panel-group .panel:last-child {
119 border: none !important;
120 }
121
122 .asisomos_hemeroteca_fondo .button:hover .lexicon-icon-search{
123 color:var(--once-brand-color-secondary, #1E2326) !important;
124 }
125
126
127
128
129 </style>