Notícies | Relacions externes
Relacions externes
S'ha produït un error mentre es processava la plantilla.
Error while invoking the "journal-article" JSP custom tag; see cause exception ---- FTL stack trace ("~" means nesting-related): - Failed at: @liferay_journal["journal-article"] a... [in template "20116#20160#127566" at line 5, column 5] ----
1<#assign path_actual = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()?keep_before_last("?")>
2
3<#if request.getParameter("id")?? && request.getParameter("id")?matches(r'[-+]?[0-9]+')>
4<#-- CAL MOSTRAR FITXA ---------->
5 <@liferay_journal["journal-article"]
6 articleId=request.getParameter("id")
7 ddmTemplateKey="127560"
8 groupId=themeDisplay.getScopeGroupId()
9 />
10 <a class="btn" href="${currentURL}" role="button" title="Tornar">Tornar</a>
11 <script>
12 $(document).ready(function() {
13 $(".taglib-page-iterator").hide();
14 });
15 </script>
16<#else>
17
18<#-- CAL MOSTRAR LLISTAT -------->
19<#if path_actual?keep_after_last("/") == "noticies">
20 <#assign url_noticies = path_actual>
21<#else>
22 <#assign url_noticies = path_actual + "/noticies">
23</#if>
24 <h2>Notícies</h2>
25 <#if entries?has_content>
26 <#list entries as curEntry>
27 <#if curEntry.getAssetRenderer().getAssetObject()??>
28 <#if curEntry.getAssetRenderer().getAssetObject()!= "">
29 <#assign assetRenderer = curEntry.getAssetRenderer() journalArticle = assetRenderer.getAssetObject() />
30 <#--EL SEGÜENT PER PODER EDITAR EL CONTINGUT WEB-->
31 <#assign
32 entry = entry
33 assetRenderer = curEntry.getAssetRenderer()
34 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
35 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))/>
36 <@getEditIcon />
37 <#--FI EDICIÓ-->
38 <a href="${url_noticies}?id=${journalArticle.getArticleId()}" style="cursor:pointer">
39 <@liferay_journal["journal-article"]
40 articleId=journalArticle.getArticleId()
41 ddmTemplateKey="127556"
42 groupId=journalArticle.getGroupId()
43 />
44 </a>
45 </#if>
46 </#if>
47 </#list>
48 <#if path_actual?keep_after_last("/") != "noticies">
49 <div class="ageliferay_mes_info">
50 <a href="${url_noticies}">Totes les notícies</a>
51 </div>
52 </#if>
53 </#if>
54</#if>
55<div style="clear: both;"></div>
56
57
58<#-- MACRO PER MOSTRAR BOTÓ EDICIÓ CONTINGUT WEB -->
59<#macro getEditIcon>
60 <#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())>
61 <#assign redirectURL = renderResponse.createRenderURL() />
62
63 ${redirectURL.setParameter("mvcPath", "/add_asset_redirect.jsp")}
64 ${redirectURL.setWindowState("pop_up")}
65
66 <#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" />
67
68 <#if validator.isNotNull(editPortletURL)>
69 <#assign title = languageUtil.format(locale, "EDITAR NOTÍCIA «"+entryTitle+"»", entryTitle, false) />
70
71 <@liferay_ui["icon"]
72 cssClass="icon-monospaced visible-interaction"
73 icon="pencil"
74 markupView="lexicon"
75 message=title
76 url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});"
77 />
78 </#if>
79 </#if>
80</#macro>
—
100 articles per pàgina