Publicador de Conteúdo

Ocorreu um erro ao processar o template.
Denied access to model object as it does not belong to current company 236565

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #list resultsRelateds as resultsRelat...  [in template "376699" at line 111, column 1]
	- Reached through: #include "${templatesPath}/376699"  [in template "236565#236606#376828" at line 343, column 41]
----
1<#-- 
2Application display templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8 
9<#--init template--> 
10<#include "${templatesPath}/376690" /> 
11 
12<#--functions template--> 
13<#include "${templatesPath}/376694" /> 
14 
15 
16<#assign displayDate = getDisplayDateFormat( .vars['reserved-article-display-date'].data, "MMMM yyyy")> 
17 
18 
19<#assign display=""> 
20<div class="container-fluid article-content article-custom-style-ot" id="content-wrapper"> 
21 
22	<#assign  mostar = TITLE.getSiblings()?size> 
23	<#if TITLE.getSiblings()?has_content &&  mostar != 1> 
24		<div class="col-md-1 col-sm-1 col-xs-1 navbar-container"> 
25			<aside id='scroll-nav' class=" article-aside hidden-sm hidden-xs" style="top: 0px;"><!-- reports --> 
26 
27				<ul class="scroll-list"> 
28					<li class="arrow up"><a href="#section1"><span class="fa fa-angle-up"></span></a></li> 
29					<#assign lastSection = "1"> 
30					<#assign  j = 0> 
31					<#list TITLE.getSiblings() as item > 
32						<#if j == 0> 
33							<li data-toggle="tooltip" data-placement="right" title="" data-original-title='${Titulo.getData()}' class=""><a href='#section${j}'><span class="fa fa-circle-o"></span></a></li> 
34						<#else> 
35							<li data-toggle="tooltip" data-placement="right" title="" data-original-title='${j}. ${item.getData()}' class=""><a href='#section${j}'><span class="fa fa-circle-o"></span></a></li> 
36						</#if> 
37 
38						<#assign lastSection = j> 
39						<#assign j = j+1> 
40					</#list> 
41					<li class="arrow down"><a href="#section${lastSection}"><span class="fa fa-angle-down"></span></a></li> 
42				</ul> 
43			</aside><!-- /article --> 
44		</div> 
45	</#if> 
46 
47	<div class="col-md-12 col-sm-12 col-xs-12 cos-article"> 
48		<section class="article" > 
49			<article class="scroll-nav__section row" id="section0"> 
50				<#-- cabecera--> 
51				<#if GENERALIMAGENEW??> 
52					<#if GENERALIMAGENEW.getData()?has_content > 
53						<div class="banner-image" id="detail-header-img"> 
54							<img src="${GENERALIMAGENEW.getData()}" alt="${.vars['reserved-article-title'].data}"/> 
55						</div> 
56					<#else> 
57						<#if GENERALIMAGE.getData()?has_content > 
58							<div class="banner-image back-compability" id="detail-header-img-back"> 
59								<img src="${GENERALIMAGE.getData()}" alt=" ${.vars['reserved-article-title'].data}"/> 
60							</div> 
61						</#if> 
62					</#if> 
63				<#else> 
64					<#if GENERALIMAGE.getData()?has_content > 
65						<div class="banner-image back-compability" id="detail-header-img-back"> 
66							<img src="${GENERALIMAGE.getData()}" alt=" ${.vars['reserved-article-title'].data}"/> 
67						</div> 
68					</#if> 
69				</#if> 
70				<div class="header-content" id="detail-header" style=""> 
71					<section class="row page_content_title_observatori"> 
72						<div class="jumbotron document-adjunt"> 
73							<div class="row main"> 
74								<div class="col-md-8 col-sm-12 col-xs-12"> 
75									<div class="index-and-title"> 
76										<div class="category"> 
77											<#assign categories = entry.getCategories() /> 
78											<#list categories as category > 
79												<#assign vocabularyId = vocabularyIdTipoC> 
80												<#if category.getVocabularyId() == vocabularyId?number> 
81													<p class="category"> 
82														${category.getTitle(locale)} 
83													</p> 
84												</#if> 
85											</#list> 
86										</div> 
87									</div> 
88									<p class="description"> 
89										${Titulo.getData()} 
90									</p> 
91									<#assign pathThemeImage = themeDisplay.getPathThemeImages() /> 
92									<section class="date-content"> 
93                                                      <span class="posted-on"> 
94                                                        <time datetime="${displayDate?cap_first}">${displayDate?cap_first}</time> 
95                                                      </span> 
96										<div class="print-action hidden-sm hidden-xs"> 
97                                                   <span class=""> 
98                                                       <a href="#" onclick="window.print();" class=" taglib-icon"> 
99                                                              <img id="bhfa__column1__0" src="${pathThemeImage}/spacer.png" alt="print"> 
100                                                       </a> 
101                                                   </span> 
102										</div> 
103									</section> 
104 
105 
106 
107								</div> 
108							</div> 
109						</div> 
110 
111					</section> 
112					<div class="print-logo"> 
113					</div> 
114				</div> 
115 
116				<#-- contenido --> 
117				<div class="col-xl-9 col-md-12 col-sm-12 col-xs-12 columna-esquerra"> 
118					<#if Subtitol.getData()?has_content > 
119						<div class="subtitulo-content"> 
120							<h2>${Subtitol.getData()}</h2> 
121						</div> 
122					</#if> 
123					<#if Autor.getSiblings()?has_content && Autor.getSiblings()[0].getData() != ""> 
124						<section class="autors clean-padding col-md-12 col-sm-12 col-xs-12"> 
125							<#assign descripcio_autor=""> 
126							<#list Autor.getSiblings() as autor> 
127								<#if autor.Descripcio_Autor.getData()?has_content> 
128									<#assign descripcio_autor= descripcio_autor + autor.getData() + ", " + autor.Descripcio_Autor.getData() + "; "/> 
129								<#else> 
130									<#assign descripcio_autor= descripcio_autor + autor.getData() + "; "/> 
131								</#if> 
132							</#list> 
133							<div class="autors-content"> 
134								<div class="autor"> 
135									${descripcio_autor} 
136								</div> 
137							</div> 
138						</section> 
139					</#if> 
140 
141					<#if TituloConvosWin?has_content && TituloConvosWin.getData()!=""> 
142						<section class="autors clean-padding col-md-12 col-sm-12 col-xs-12" style="    margin-bottom: 0px;"> 
143							<div class="autor convo-winer"> 
144								${TituloConvosWin.getData()} 
145							</div> 
146						</section> 
147					</#if> 
148 
149					<#if DOCUMENT.getData()?has_content > 
150						<section class="clean-padding col-md-12 col-sm-12 col-xs-12"> 
151							<div class="last-downloads"> 
152								<#assign classFile=getButtonStyles(DOCUMENT.getData())> 
153								<#assign targetFile="target=\"_blank\""/> 
154								<a ${targetFile} href="${DOCUMENT.getData()}" title="${TITLE.getData()}" class="btn btn-download pushtag-download"> 
155									<div class="text"><@liferay.language key="observatoriosocial-download"/></div> 
156									<div class="icon fa fa-2x ${classFile}"></div> 
157								</a> 
158							</div> 
159						</section> 
160					</#if> 
161 
162					<#-- PREVIEW --> 
163					<#if RESUM_PREVI??> 
164						<#if getterUtil.getBoolean(RESUM_PREVI.getData())> 
165							<div class="previ"> 
166								<h1 class="titol-previ"> 
167									${RESUM_PREVI.get("SUBTITULO_PUNTOS_CLAVE").getData()} 
168								</h1> 
169 
170								<div class="microresum-previ"> 
171									${RESUM_PREVI.get("MICRORESUMEN_PUNTOS_CLAVE").getData()} 
172								</div> 
173 
174								<div class="puntsclau-previ"> 
175									<@liferay.language key="observatoriosocial.puntos.clave"/> 
176								</div> 
177								<#assign style="col-md-12 col-sm-12 col-xs-12 row-previpunts"> 
178								<#-- flex no es necesario <#if RESUM_PREVI.get("PUNTO_CLAVE_IZQ")?has_content && RESUM_PREVI.get("PUNTO_CLAVE_DER")?has_content> 
179                                        <#assign style="col-md-6 col-sm-6 col-xs-12 row"> 
180                                   </#if>--> 
181								<#assign i=1> 
182								<#if RESUM_PREVI.get("PUNTO_CLAVE_IZQ")?has_content> 
183									<ul class="${style}"> 
184 
185										<#list RESUM_PREVI.get("PUNTO_CLAVE_IZQ").getSiblings() as izq > 
186											<li> 
187												<div class="numberCircle">${i}</div>&nbsp;&nbsp; 
188												${izq.getData()} 
189											</li> 
190											<#assign i=i+1> 
191										</#list> 
192									</ul> 
193								</#if> 
194								<#if RESUM_PREVI.get("PUNTO_CLAVE_DER")?has_content> 
195									<ul class="${style}"> 
196										<#list RESUM_PREVI.get("PUNTO_CLAVE_DER").getSiblings() as der > 
197											<li> 
198												<div class="numberCircle">${i}</div>&nbsp;&nbsp; 
199												${der.getData()} 
200											</li> 
201											<#assign i=i+1> 
202										</#list> 
203									</ul> 
204								</#if> 
205								<#if RESUM_PREVI.get("TITULO_GRAFICO_ITEM_PREVI")?has_content> 
206									<#list RESUM_PREVI.get("TITULO_GRAFICO_ITEM_PREVI").getSiblings() as resum > 
207										<div class="col-md-12 col-sm-12 col-xs-12 resum-previ"> 
208											<#if resum.get("GRAFICO_ITEM_PREVI").getData()?has_content> 
209												<div class="resum-previ-text"> 
210													<div class="titol-resum">${resum.getData()}</div> 
211												</div> 
212												<div class="resum-previ-imatge"> 
213													<img src="${resum.get("GRAFICO_ITEM_PREVI").getData()}" alt="${resum.getData()}"/> 
214												</div> 
215												<div class="text-resum"> 
216													${resum.get("TEXTO_GRAFICO_ITEM_PREVI").getData()} 
217												</div> 
218											<#else> 
219												<div class="resum-previ-text"> 
220													<div class="titol-resum">${resum.getData()}</div> 
221												</div> 
222												<div class="text-resum"> 
223													${resum.get("TEXTO_GRAFICO_ITEM_PREVI").getData()} 
224												</div> 
225											</#if> 
226										</div> 
227									</#list> 
228								</#if> 
229							</div> 
230						<#-- TODO:: RESTA de camps de previ --> 
231 
232						<#--  INICI BOTONS VEURE TOT i VEURE RESUM  --> 
233							<#assign mostrarBoton = languageUtil.get(locale, "observatoriosocial.veure-tot")> 
234							<#assign ocultarBoton = languageUtil.get(locale, "observatoriosocial.veure-resum-previ")> 
235 
236							<#if RESUM_PREVI_TEXT_BOTO_MOSTRAR??> 
237								<#if RESUM_PREVI_TEXT_BOTO_MOSTRAR.getData()?has_content> 
238									<#assign mostrarBoton =	RESUM_PREVI_TEXT_BOTO_MOSTRAR.getData()> 
239								</#if> 
240							</#if> 
241 
242							<#if RESUM_PREVI_TEXT_BOTO_OCULTAR??> 
243								<#if RESUM_PREVI_TEXT_BOTO_OCULTAR.getData()?has_content> 
244									<#assign ocultarBoton =	RESUM_PREVI_TEXT_BOTO_OCULTAR.getData()> 
245								</#if> 
246							</#if> 
247 
248							<div class="veure-tot-botons"> 
249				    	<span class="boto-veure-tot" id="boto-veure-tot-header"> 
250							<a id="veure-tot-header" title="${mostrarBoton}" href="#"> 
251								${mostrarBoton} 
252							</a> 
253						</span> 
254								<span class="boto-resum-previ" id="boto-resum-previ-header"> 
255							<a id="veure-resum-previ-header" title="${ocultarBoton}" href="#"> 
256								${ocultarBoton} 
257							</a> 
258						</span> 
259							</div> 
260						<#--  FI BOTONS VEURE TOT i VEURE RESUM  --> 
261							<#assign display="display:none;"> 
262						</#if> 
263					</#if> 
264 
265					<div id="article-total" style="display:none;"> 
266						<#-- - END PREVIEW --> 
267						<#assign i = 0> 
268						<#list TITLE.getSiblings() as item > 
269							<section class="article" ><!-- reports --> 
270								<article class="scroll-nav__section" id="section${i}"><!-- col-md-6 col-xs-12 --> 
271									<#if item.getData()?has_content > 
272										<#if i == 0> 
273											<h1 class="col-md-12 col-sm-12 main-h1">${item.getData()}</h1> 
274										<#else> 
275											<h1 class="col-md-12 col-sm-12 main-h1">${i}. ${item.getData()}</h1> 
276										</#if> 
277									</#if> 
278									<#list item.SUBTITLE.getSiblings() as subitem > 
279										<#if subitem.getData()?has_content> 
280											<h2 class="col-md-12 col-sm-12 col-xs-12">${subitem.getData()}</h2> 
281										</#if> 
282										<div class="article-contents col-md-12 col-sm-12 col-xs-12 row"> 
283											<!-- bloque 1 --> 
284											<#if subitem.IMAGE.getData()?has_content > 
285												<div class="col-md-12 col-sm-12 col-xs-12 row"> 
286													<img src="${subitem.IMAGE.getData()}" class="img-responsive image-1-columna" alt="${subitem.getData()}"/> 
287												</div> 
288											</#if> 
289											<#if subitem.CITE.getData()?has_content> 
290												<div class="col-md-12 col-sm-12 col-xs-12 row"> 
291													<cite class="col-md-12 col-sm-12 col-xs-12 cita-1-columna">${subitem.CITE.getData()}</cite> 
292												</div> 
293											</#if> 
294											<#if subitem.CONTENT.getData()?has_content> 
295												<div class="col-md-12 col-sm-12 col-xs-12 row"><p>${subitem.CONTENT.getData()}</p></div> 
296											</#if> 
297											<#if subitem.VIDEO.getData()?has_content> 
298												<div class="col-md-12 col-sm-12 col-xs-12 row"><p>${subitem.VIDEO.getData()}</p></div> 
299											</#if> 
300										</div> 
301									</#list> 
302								</article><!-- /col-md-6 col-xs-12 --> 
303							</section> 
304							<#assign i = i+1> 
305						</#list> 
306 
307						<#if (PeuPagina.getSiblings()?size > 1) > 
308							<section class="article peu-pagina" ><!-- reports --> 
309								<article class="scroll-nav__section" id=""><!-- col-md-6 col-xs-12 --> 
310									<#list PeuPagina.getSiblings() as cur_PeuPagina> 
311										<div class="peu-content"> 
312											<#if cur_PeuPagina.get("Num")?has_content > 
313												<p id='${cur_PeuPagina.get("Num").getData()}' class="num-peu"> 
314													${cur_PeuPagina.get("Num").getData()}. ${cur_PeuPagina.getData()} 
315													<a href="#ancora-#${cur_PeuPagina.get("Num").getData()}" class="tornar-ancora">&crarr;</a> 
316												</p> 
317											</#if> 
318										</div> 
319									</#list> 
320								</article> 
321							</section> 
322						</#if> 
323					</div> 
324					<#if RESUM_PREVI??> 
325						<#if getterUtil.getBoolean(RESUM_PREVI.getData())> 
326							<div class="veure-tot-botons"> 
327					<span class="boto-resum-previ" id="boto-resum-previ-footer"> 
328						<a id="veure-resum-previ-footer" title="${ocultarBoton}" href="#"> 
329							${ocultarBoton} 
330						</a> 
331					</span> 
332							</div> 
333						</#if> 
334					</#if> 
335 
336				</div> 
337				<#-- columna derecha --> 
338				<div class="col-xl-3 col-md-12 col-sm-12 col-xs-12 columna-dreta"> 
339					<#--classification template--> 
340					<#include "${templatesPath}/376703" /> 
341 
342					<#--related-content template--> 
343					<#include "${templatesPath}/376699" /> 
344				</div> 
345 
346			</article> 
347		</section> 
348 
349 
350	</div> 
351 
352</div> 
353<#--interested-content template --> 
354<#include "${templatesPath}/376707" /> 
355 
356 
357<script type="text/javascript"> 
358	$( document ).ready(function() { 
359 
360		$("#boto-resum-previ-footer").hide(); 
361		$("#boto-resum-previ-header").hide(); 
362		$("#scroll-nav").hide(); 
363		$("#article-total").show(); 
364		<#if RESUM_PREVI??> 
365		<#if getterUtil.getBoolean(RESUM_PREVI.getData())> 
366		$("#article-total").hide(); 
367		<#else> 
368		$("#article-total").show(); 
369		$("#scroll-nav").show(); 
370		</#if> 
371		</#if> 
372 
373		if ($("#detail-header-img img").length >0){ 
374			$(".main-header-aux").html($("#detail-header-img")) 
375
376 
377		if ($("#detail-header-img-back img").length >0){ 
378			$(".main-header-aux").html($("#detail-header-img-back")) 
379
380 
381		$(".header-content-home").html($("#detail-header")); 
382 
383		$("#veure-tot-header").click(function(event) { 
384			$("#boto-resum-previ-footer").show(); 
385			$("#boto-veure-tot-header").hide(); 
386			$("#boto-resum-previ-header").show(); 
387			$("#article-total").show(); 
388			$("#scroll-nav").show(); 
389			scrollNav(); 
390			event.preventDefault(); 
391		}); 
392 
393		$("#veure-resum-previ-header").click(function(event) { 
394			$("#boto-resum-previ-footer").hide(); 
395			$("#boto-veure-tot-header").show(); 
396			$("#boto-resum-previ-header").hide(); 
397			$("#article-total").hide(); 
398			$("#scroll-nav").hide(); 
399			event.preventDefault(); 
400		}); 
401 
402		$("#veure-resum-previ-footer").click(function(event) { 
403			$("#boto-veure-tot-header").show(); 
404			$("#boto-resum-previ-header").hide(); 
405			$("#boto-resum-previ-footer").hide(); 
406			$("#article-total").hide(); 
407			$("#scroll-nav").hide(); 
408			$(window).scrollTop(0); 
409			event.preventDefault(); 
410		}); 
411 
412		$('.cos-article a[href^="#"]').each(function() { 
413			$(this).addClass( "ancora" ); 
414			$(this).attr("id","ancora-"+$(this).attr("href")); 
415		}); 
416 
417		$(".tornar-ancora").click(function(event){ 
418			var idElement = $(this).attr("href"); 
419			$('.ancora').each(function() { 
420				if(idElement == "#"+$(this).attr("id")){ 
421					$('html, body').animate({ 
422						scrollTop: $(this).offset().top 
423					}, 500); 
424
425			}); 
426			event.preventDefault(); 
427		}); 
428	}); 
429</script>