Se ha producido un error al procesar la plantilla.
Java method "static com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil.getEntries(com.liferay.asset.kernel.service.persistence.AssetEntryQuery)" threw an exception; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign resultsRelateds = assetEntryQ... [in template "250845" at line 96, column 1] - Reached through: #include "${templatesPath}/250845" [in template "20155#20195#199096" at line 300, column 9] ----
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}/250833" />
11
12<#--functions template-->
13<#include "${templatesPath}/250837" />
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">
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-8 col-sm-12 col-xs-12 cos-article">
48 <section class="article" >
49 <article class="scroll-nav__section" id="section0">
50
51 <div class="pos-sup">
52 <section class="date-content">
53 <span class="posted-on">
54 <time datetime="${displayDate?cap_first}">${displayDate?cap_first}</time>
55 </span>
56 </section>
57
58 <#assign pathThemeImage = themeDisplay.getPathThemeImages() />
59 <div class="print-action hidden-sm hidden-xs">
60 <span class="">
61 <a href="#" onclick="window.print();" class=" taglib-icon">
62 <img id="bhfa__column1__0" src="${pathThemeImage}/spacer.png">
63 </a>
64 </span>
65 </div>
66
67 </div>
68 <div class="titulo-content">
69 <h1 class="main-h1">${Titulo.getData()}</h1>
70 </div>
71 <#if Subtitol.getData()?has_content >
72 <div class="subtitulo-content">
73 <h1 class="main-h1">${Subtitol.getData()}</h1>
74 </div>
75 </#if>
76
77 <#if Autor.getSiblings()?has_content && Autor.getSiblings()[0].getData() != "">
78 <section class="autors clean-padding col-md-12 col-sm-12 col-xs-12">
79 <#list Autor.getSiblings() as autor>
80 <div class="autors-content">
81 <div class="autor">
82 <#if autor.Descripcio_Autor.getData()?has_content>
83 ${autor.getData()}, ${autor.Descripcio_Autor.getData()}
84 <#else>
85 ${autor.getData()}
86 </#if>
87 </div>
88 </div>
89 </#list>
90 </section>
91 </#if>
92
93 <#if TituloConvosWin?has_content && TituloConvosWin.getData()!="">
94 <section class="autors clean-padding col-md-12 col-sm-12 col-xs-12" style=" margin-bottom: 0px;">
95 <div class="autor convo-winer">
96 ${TituloConvosWin.getData()}
97 </div>
98 </section>
99 </#if>
100
101 <#if DOCUMENT.getData()?has_content >
102 <section class="clean-padding col-md-12 col-sm-12 col-xs-12">
103 <div class="last-downloads">
104 <#assign classFile=getButtonStyles(DOCUMENT.getData())>
105 <#assign targetFile="target=\"_blank\""/>
106 <a ${targetFile} href="${DOCUMENT.getData()}" title="${TITLE.getData()}" class="btn btn-download pushtag-download">
107 <div class="text"><@liferay.language key="observatoriosocial-download"/></div>
108 <div class="icon fa fa-2x ${classFile}"></div>
109 </a>
110 </div>
111 </section>
112 </#if>
113
114 <#-- PREVIEW -->
115 <#if RESUM_PREVI??>
116 <#if getterUtil.getBoolean(RESUM_PREVI.getData())>
117 <div class="previ">
118 <h1 class="titol-previ">
119 ${RESUM_PREVI.get("SUBTITULO_PUNTOS_CLAVE").getData()}
120 </h1>
121
122 <div class="microresum-previ">
123 ${RESUM_PREVI.get("MICRORESUMEN_PUNTOS_CLAVE").getData()}
124 </div>
125
126 <div class="puntsclau-previ">
127 <@liferay.language key="observatoriosocial.puntos.clave"/>
128 </div>
129 <#assign style="col-md-12 col-sm-12 col-xs-12 row-previpunts">
130 <#-- flex no es necesario <#if RESUM_PREVI.get("PUNTO_CLAVE_IZQ")?has_content && RESUM_PREVI.get("PUNTO_CLAVE_DER")?has_content>
131 <#assign style="col-md-6 col-sm-6 col-xs-12 row">
132 </#if>-->
133 <#assign i=1>
134 <#if RESUM_PREVI.get("PUNTO_CLAVE_IZQ")?has_content>
135 <ul class="${style}">
136
137 <#list RESUM_PREVI.get("PUNTO_CLAVE_IZQ").getSiblings() as izq >
138 <li>
139 <div class="numberCircle">${i}</div>
140 ${izq.getData()}
141 </li>
142 <#assign i=i+1>
143 </#list>
144 </ul>
145 </#if>
146 <#if RESUM_PREVI.get("PUNTO_CLAVE_DER")?has_content>
147 <ul class="${style}">
148 <#list RESUM_PREVI.get("PUNTO_CLAVE_DER").getSiblings() as der >
149 <li>
150 <div class="numberCircle">${i}</div>
151 ${der.getData()}
152 </li>
153 <#assign i=i+1>
154 </#list>
155 </ul>
156 </#if>
157 <#if RESUM_PREVI.get("TITULO_GRAFICO_ITEM_PREVI")?has_content>
158 <#list RESUM_PREVI.get("TITULO_GRAFICO_ITEM_PREVI").getSiblings() as resum >
159 <div class="col-md-12 col-sm-12 col-xs-12 resum-previ">
160 <#if resum.get("GRAFICO_ITEM_PREVI").getData()?has_content>
161 <div class="resum-previ-text">
162 <div class="titol-resum">${resum.getData()}</div>
163 </div>
164 <div class="resum-previ-imatge">
165 <img src="${resum.get("GRAFICO_ITEM_PREVI").getData()}" alt="${resum.getData()}"/>
166 </div>
167 <div class="text-resum">
168 ${resum.get("TEXTO_GRAFICO_ITEM_PREVI").getData()}
169 </div>
170 <#else>
171 <div class="resum-previ-text">
172 <div class="titol-resum">${resum.getData()}</div>
173 </div>
174 <div class="text-resum">
175 ${resum.get("TEXTO_GRAFICO_ITEM_PREVI").getData()}
176 </div>
177 </#if>
178 </div>
179 </#list>
180 </#if>
181 </div>
182 <#-- TODO:: RESTA de camps de previ -->
183 </article>
184 </section>
185
186 <#-- INICI BOTONS VEURE TOT i VEURE RESUM -->
187 <#assign mostrarBoton = languageUtil.get(locale, "veure-tot")>
188 <#assign ocultarBoton = languageUtil.get(locale, "veure-resum-previ")>
189
190 <#if RESUM_PREVI_TEXT_BOTO_MOSTRAR??>
191 <#if RESUM_PREVI_TEXT_BOTO_MOSTRAR.getData()?has_content>
192 <#assign mostrarBoton = RESUM_PREVI_TEXT_BOTO_MOSTRAR.getData()>
193 </#if>
194 </#if>
195
196 <#if RESUM_PREVI_TEXT_BOTO_OCULTAR??>
197 <#if RESUM_PREVI_TEXT_BOTO_OCULTAR.getData()?has_content>
198 <#assign ocultarBoton = RESUM_PREVI_TEXT_BOTO_OCULTAR.getData()>
199 </#if>
200 </#if>
201
202 <div class="veure-tot-botons">
203 <span class="boto-veure-tot" id="boto-veure-tot-header">
204 <a id="veure-tot-header" title="${mostrarBoton}" href="#">
205 ${mostrarBoton}
206 </a>
207 </span>
208 <span class="boto-resum-previ" id="boto-resum-previ-header">
209 <a id="veure-resum-previ-header" title="${ocultarBoton}" href="#">
210 ${ocultarBoton}
211 </a>
212 </span>
213 </div>
214 <#-- FI BOTONS VEURE TOT i VEURE RESUM -->
215 <#assign display="display:none;">
216 </#if>
217 </#if>
218
219 <div id="article-total" style="display:none;">
220 <#-- - END PREVIEW -->
221 <#assign i = 0>
222 <#list TITLE.getSiblings() as item >
223 <section class="article" ><!-- reports -->
224 <article class="scroll-nav__section" id="section${i}"><!-- col-md-6 col-xs-12 -->
225 <#if item.getData()?has_content >
226 <#if i == 0>
227 <h1 class="col-md-12 col-sm-12 main-h1">${item.getData()}</h1>
228 <#else>
229 <h1 class="col-md-12 col-sm-12 main-h1">${i}. ${item.getData()}</h1>
230 </#if>
231 </#if>
232 <#list item.SUBTITLE.getSiblings() as subitem >
233 <#if subitem.getData()?has_content>
234 <h2 class="col-md-12 col-sm-12 col-xs-12">${subitem.getData()}</h2>
235 </#if>
236 <div class="article-contents col-md-12 col-sm-12 col-xs-12 row">
237 <!-- bloque 1 -->
238 <#if subitem.IMAGE.getData()?has_content >
239 <div class="col-md-12 col-sm-12 col-xs-12 row">
240 <img src="${subitem.IMAGE.getData()}" class="img-responsive image-1-columna" alt="${subitem.getData()}"/>
241 </div>
242 </#if>
243 <#if subitem.CITE.getData()?has_content>
244 <div class="col-md-12 col-sm-12 col-xs-12 row">
245 <cite class="col-md-12 col-sm-12 col-xs-12 cita-1-columna">${subitem.CITE.getData()}</cite>
246 </div>
247 </#if>
248 <#if subitem.CONTENT.getData()?has_content>
249 <div class="col-md-12 col-sm-12 col-xs-12 row"><p>${subitem.CONTENT.getData()}</p></div>
250 </#if>
251 <#if subitem.VIDEO.getData()?has_content>
252 <div class="col-md-12 col-sm-12 col-xs-12 row"><p>${subitem.VIDEO.getData()}</p></div>
253 </#if>
254 </div>
255 </#list>
256 </article><!-- /col-md-6 col-xs-12 -->
257 </section>
258 <#assign i = i+1>
259 </#list>
260
261 <#if (PeuPagina.getSiblings()?size > 1) >
262 <section class="article peu-pagina" ><!-- reports -->
263 <article class="scroll-nav__section" id=""><!-- col-md-6 col-xs-12 -->
264 <#list PeuPagina.getSiblings() as cur_PeuPagina>
265 <div class="peu-content">
266 <#if cur_PeuPagina.get("Num")?has_content >
267 <p id='${cur_PeuPagina.get("Num").getData()}' class="num-peu">
268 ${cur_PeuPagina.get("Num").getData()}. ${cur_PeuPagina.getData()}
269 <a href="#ancora-#${cur_PeuPagina.get("Num").getData()}" class="tornar-ancora">↵</a>
270 </p>
271 </#if>
272 </div>
273 </#list>
274 </article>
275 </section>
276 </#if>
277 </div>
278 <#if RESUM_PREVI??>
279 <#if getterUtil.getBoolean(RESUM_PREVI.getData())>
280 <div class="veure-tot-botons">
281 <span class="boto-resum-previ" id="boto-resum-previ-footer">
282 <a id="veure-resum-previ-footer" title="${ocultarBoton}" href="#">
283 ${ocultarBoton}
284 </a>
285 </span>
286 </div>
287 </#if>
288 </#if>
289
290 </div>
291
292<#-- columna derecha -->
293<div class="col-md-3 col-sm-12 col-xs-12 columna-dreta">
294
295
296 <#--classification template-->
297 <#include "${templatesPath}/250841" />
298
299 <#--related-content template-->
300 <#include "${templatesPath}/250845" />
301</div>
302
303</div>
304 <#--interested-content template-->
305 <#include "${templatesPath}/250849" />
306
307
308<script type="text/javascript">
309 $( document ).ready(function() {
310
311 $("#boto-resum-previ-footer").hide();
312 $("#boto-resum-previ-header").hide();
313 $("#scroll-nav").hide();
314 $("#article-total").show();
315 <#if RESUM_PREVI??>
316 <#if getterUtil.getBoolean(RESUM_PREVI.getData())>
317 $("#article-total").hide();
318 <#else>
319 $("#article-total").show();
320 $("#scroll-nav").show();
321 </#if>
322 </#if>
323
324
325 $("#veure-tot-header").click(function(event) {
326 $("#boto-resum-previ-footer").show();
327 $("#boto-veure-tot-header").hide();
328 $("#boto-resum-previ-header").show();
329 $("#article-total").show();
330 $("#scroll-nav").show();
331 scrollNav();
332 event.preventDefault();
333 });
334
335 $("#veure-resum-previ-header").click(function(event) {
336 $("#boto-resum-previ-footer").hide();
337 $("#boto-veure-tot-header").show();
338 $("#boto-resum-previ-header").hide();
339 $("#article-total").hide();
340 $("#scroll-nav").hide();
341 event.preventDefault();
342 });
343
344 $("#veure-resum-previ-footer").click(function(event) {
345 $("#boto-veure-tot-header").show();
346 $("#boto-resum-previ-header").hide();
347 $("#boto-resum-previ-footer").hide();
348 $("#article-total").hide();
349 $("#scroll-nav").hide();
350 $(window).scrollTop(0);
351 event.preventDefault();
352 });
353
354 $('.cos-article a[href^="#"]').each(function() {
355 $(this).addClass( "ancora" );
356 $(this).attr("id","ancora-"+$(this).attr("href"));
357 });
358
359 $(".tornar-ancora").click(function(event){
360 var idElement = $(this).attr("href");
361 $('.ancora').each(function() {
362 if(idElement == "#"+$(this).attr("id")){
363 $('html, body').animate({
364 scrollTop: $(this).offset().top
365 }, 500);
366 }
367 });
368 event.preventDefault();
369 });
370 });
371</script>