Employeur

Embauche et déclarations Embauche et déclarations

Déclaration Sociale Nominative Déclaration Sociale Nominative

Cotisations et paiement Cotisations et paiement

Vie de l'entreprise Vie de l'entreprise

Une erreur s'est produite en traitant le modèle de document.
Expression assetRenderer.getArticle is undefined on line 10, column 43 in 10136#10174#78287253.
1<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] /> 
2<div class="navBlock domaine"> 
3    <div class="navBlockCol row"> 
4 
5	<#list entries as entry> 
6		<#assign assetRenderer = entry.getAssetRenderer() /> 
7		<#assign entryTitle   = htmlUtil.escape(assetRenderer.getTitle(locale)) /> 
8		<#assign entryTitleShort   = stringUtil.shorten(assetRenderer.getTitle(locale), 60 , "...") /> 
9		<#assign entrySummaryShortened = stringUtil.shorten(assetRenderer.getSummary(renderRequest, renderResponse), 101 , "...") /> 
10		<#assign journalArticle = assetRenderer.getArticle()/> 
11        <#assign imgUrl = journalArticle.getSmallImageURL()/> 
12		<#assign currentGroup = themeDisplay.getLayout().getGroup()/> 
13        <#assign viewURL = "/lfy/delegate/articleviewer?groupId=" + currentGroup.getGroupId() + "&id=" + journalArticle.getId() /> 
14 
15		<div class="navBlockContent col-xs-12 col-sm-6 col-md-4"> 
16			<div class="lfr-meta-actions asset-actions porp1"> 
17				<@getEditIcon /> 
18			</div> 
19	        <div class="blocPubli bg"> 
20				<div class="img hidden-xs"> 
21				    <a href="${viewURL}"> 
22	                <img src="${imgUrl}"> 
23	                </a> 
24		        </div> 
25		        <div class="content"> 
26	    			<h3 class="titre_breve no-margin"> 
27	    			    <span class="visible-xs-inline ia-chevron ia-1x"></span> 
28	    			    <a href="${viewURL}" target="_self" title="${entryTitle}">${htmlUtil.escape(entryTitleShort) } 
29	    	            </a> 
30	    			</h3> 
31	    			<p class="resume-article hidden-xs"> 
32		    			${htmlUtil.escape(entrySummaryShortened)} 
33		    		</p> 
34		        </div> 
35			</div> 
36		</div> 
37	</#list> 
38 
39    </div> 
40</div> 
41<#macro getEditIcon> 
42	<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
43		<#assign redirectURL = renderResponse.createRenderURL() /> 
44		${redirectURL.setParameter("struts_action", "/asset_publisher/add_asset_redirect")} 
45		${redirectURL.setWindowState("pop_up")} 
46		<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" /> 
47		<#if validator.isNotNull(editPortletURL)> 
48			<#assign title = languageUtil.format(locale, "edit-x", entryTitle) /> 
49 
50			<@liferay_ui["icon"] 
51				image="edit" 
52				message=title 
53				url="javascript:Liferay.Util.openWindow({dialog: {width: 960}, id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});" 
54			/> 
55		</#if> 
56	</#if> 
57</#macro> 

Santé Sécurité au Travail Santé Sécurité au Travail