Imágenes
Errorea gertatu da txantiloia prozesatzerakoan.
Failed to "?eval" string with this error: ---begin-message--- Syntax error in ?eval-ed string in line 1, column 35: Lexical error: encountered "u" (117), after "\"CISek \\". ---end-message--- The failing expression: ==> img?eval [in template "20096#20122#46042" at line 26, column 52] ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign imgName = img?eval.title [in template "20096#20122#46042" at line 26, column 33] ----
1<#assign liferay_ui = PortletJspTagLibs["/META-INF/liferay-ui.tld"] />
2<#assign liferay_util = PortletJspTagLibs["/META-INF/liferay-util.tld"] />
3<#assign aui = PortletJspTagLibs["/META-INF/liferay-aui.tld"] />
4
5<#if entries?has_content>
6 <ul class="menu-cont multi-list">
7 <#list entries as curEntry>
8 <#assign
9 curEntry = curEntry
10 renderer = curEntry.getAssetRenderer()
11 entryTitle = htmlUtil.escape(renderer.getTitle(locale))
12 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, renderer, curEntry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))/>
13
14
15 <#assign renderer = curEntry.getAssetRenderer()/>
16 <#assign link = renderer.getURLViewInContext(renderRequest, renderResponse, '')/>
17 <#assign journalArticle = renderer.getArticle()/>
18 <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString())) />
19 <#assign entryTitle = htmlUtil.escape(renderer.getTitle(locale))/>
20 <#assign entryResumen = htmlUtil.escape(renderer.getSummary())/>
21
22 <#assign Contenido=document.valueOf("//dynamic-element[@name='Contenido']/dynamic-content/text()") />
23
24 <#assign img = document.valueOf("//dynamic-element[@name='ImagenDestacada']/dynamic-content") />
25 <#if img?has_content>
26 <#assign imgName = img?eval.title />
27 <#assign imgGroupId = img?eval.groupId />
28 <#assign imgUuid = img?eval.uuid />
29 <#assign imgAlt = img?eval.alt/>
30 </#if>
31
32 <li class="menu-item">
33 <div class="lfr-meta-actions asset-actions">
34 <@getEditIcon />
35 </div>
36 <div class="menu-card menu-card-linea">
37 <#if img?has_content>
38 <div class="menu-img">
39 <img src="/documents/${imgGroupId}/0/${imgName}/${imgUuid}" alt="${imgAlt}">
40 </div>
41 </#if>
42 <div class="menu-conten">
43 <div class="menu-info">
44 <p class="menu-tit">
45 <a href="${viewURL}" class="enlace-total elipsis-3" title="Ir a la noticia ${entryTitle}" target="_self" tabindex="-1">${entryTitle}</a>
46 </p>
47 </div>
48 </div>
49 </div>
50 </li>
51 </#list>
52 </ul>
53</#if>
54
55<#macro getEditIcon>
56 <#if renderer.hasEditPermission(themeDisplay.getPermissionChecker())>
57 <#assign editPortletURL = renderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("NORMAL"), themeDisplay.getURLCurrent())!"" />
58
59 <#if validator.isNotNull(editPortletURL)>
60 <#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) />
61
62 <@liferay_ui["icon"]
63 cssClass="icon-monospaced visible-interaction"
64 icon="pencil"
65 markupView="lexicon"
66 message=title
67 url=editPortletURL.toString()
68 />
69 </#if>
70 </#if>
71</#macro>
—
20 Elementu orri bakoitzeko