Docutec
Une erreur s'est produite lors du traitement du modèle.
Failed to get value for key "com.liferay.portal.service.ServiceContextThreadLocal"; see cause exception.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign serviceContext = staticUtil["... [in template "20902#20940#29628628" at line 61, column 5]
----
1<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
2
3<style>
4.col-xs-12.col-md-12.col-lg-12.separacionNivelesDokuteka.sinMargenIzq {
5 border-top: none !important;
6 border-radius: 0 !important;
7}
8</style>
9
10
11<!--Ocultamos la fuente y el autor y por jquery lo visualizamos si existe el div fuenteAutor-->
12<#assign numero = "Zenbakia">
13<#assign objDid = "Helburu didaktikoak">
14<#assign numVisitas = "Bisita kopurua">
15<#assign calendario = "Fecha de publicación_eu">
16<#assign niveles = "Mailak">
17<#assign formatos = "Formatuak">
18<#assign fuente = "Iturria">
19<#assign dialecto = "Euskalkia">
20<#assign duracion = "Iraupena">
21<#assign parcial = "parcial">
22<#assign dokuteka = "Dokuteka">
23
24<#if locale=='en_US'>
25 <#assign numero = "Number">
26 <#assign objDid = "Learning objectives">
27 <#assign numVisitas = "Number of visits">
28 <#assign calendario = "Fecha de publicación_en">
29 <#assign niveles = "Niveles_en">
30 <#assign formatos = "Formatos_en">
31 <#assign fuente = "Source">
32 <#assign dialecto = "Dialect">
33 <#assign duracion = "Duration">
34</#if>
35<#if locale=='fr_FR'>
36 <#assign numero = "Nombre">
37 <#assign objDid = "Objectifs d'apprentissage">
38 <#assign numVisitas = "Nombre de visites">
39 <#assign calendario = "Fecha de publicación_fr">
40 <#assign niveles = "Niveles_FR">
41 <#assign formatos = "Formatos_FR">
42 <#assign fuente = "Source">
43 <#assign dialecto = "Dialecte">
44 <#assign duracion = "Durée">
45</#if>
46<#if locale=='es_ES'>
47 <#assign numero = "Número">
48 <#assign objDid = "Objetivos didácticos">
49 <#assign numVisitas = "Número de visitas">
50 <#assign calendario = "Fecha de publicación">
51 <#assign niveles = "Niveles">
52 <#assign formatos = "Formatos">
53 <#assign fuente = "Fuente">
54 <#assign dialecto = "Dialecto">
55 <#assign duracion = "Duración">
56</#if>
57
58
59<#assign id = paramUtil.getString(request, "articleId")>
60<#if !id?has_content>
61 <#assign serviceContext = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext()>
62 <#assign themeDisplay = serviceContext.getThemeDisplay() />
63 <#assign layout=themeDisplay.getLayout()>
64 <#assign querystring=layout.getTypeSettingsProperty("query-string")>
65 <#assign hayArticleId= querystring?index_of("articleId") >
66
67 <#if hayArticleId?has_content >
68 <#assign indiceInicio=(querystring?index_of("articleId"))+10>
69
70 <#assign indiceFinal=querystring.length()>
71
72 <#assign id=querystring?substring(indiceInicio,indiceFinal) >
73 </#if>
74</#if>
75<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
76<#assign journalArticleResourceLocalServiceUtil = staticUtil["com.liferay.journal.service.JournalArticleResourceLocalServiceUtil"]>
77<#assign assetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]>
78<#assign artResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, id)/>
79<#assign categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",artResourcePK) >
80<#assign getterUtil = staticUtil["com.liferay.portal.kernel.util.GetterUtil"]>
81
82<!--Lista de vocabularios-->
83<#assign idVocabuOD=0>
84<#assign idVocabuDialecto=0>
85<#assign idTipoDocumento=0>
86
87<#assign assetVocabularyLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil"]>
88<#assign vocabularioList=assetVocabularyLocalServiceUtil.getGroupVocabularies(groupId) >
89<#list vocabularioList as vocabulario>
90 <#if vocabulario.getName() == "Objetivos Didácticos">
91 <#assign idVocabuOD=vocabulario.getVocabularyId() >
92 </#if>
93 <#if vocabulario.getName() == "Eduki_Motak">
94 <#assign idTipoDocumento=vocabulario.getVocabularyId() >
95 </#if>
96 <#if vocabulario.getName() == "Euskalkia">
97 <#assign idVocabuDialecto=vocabulario.getVocabularyId() >
98 </#if>
99</#list>
100
101
102<!-- Propiedades de una categorias-->
103<#assign assetCategoryPropertyLocalServiceUtil = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService")>
104
105<#assign idioma = locale.toString()/>
106<#assign property_value=""/>
107<#assign urlVuelta=""/>
108<!--Tipo de documento-->
109<#assign hrefEM ="&filtros=Eduki_mota">
110<#list categoryList as catEdukiMota>
111 <#if catEdukiMota.getVocabularyId() == idTipoDocumento>
112 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(catEdukiMota.getCategoryId())/>
113 <#list assetCategoryPropertyList as assetCategoryProperty>
114 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
115 <#if (assetCategoryKey == idioma)>
116 <#assign property_value=assetCategoryProperty.getValue()/>
117 </#if>
118 </#list>
119 <#assign hrefEM ="${hrefEM}&Eduki_mota=${catEdukiMota.getCategoryId()}">
120
121
122 </#if>
123</#list>
124<#if hrefEM?has_content>
125 <#assign urlAux=hrefEM?substring(1)>
126 <#assign url2="&bsczmb=&id_structure_autor=16131006&filtros=Formatua&filtros=Helburu_didaktikoa&filtros=Ikasteredua&filtros=Bildumak&filtros=Aldizkaria&filtros=Baliabideak&ordenarPor=Pub.+data&bsctags=&bscAutor=" />
127 <#assign urlVuelta="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1576593315033&bscfilterby=&filtros=Maila&${urlAux}${url2}"/>
128 <#assign urlVueltaDoc="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1576593315033&bscfilterby=&filtros=Eduki_mota&Eduki_mota=20576121"/>
129
130
131</#if>
132<#if id?has_content>
133 <#if journalArticleLocalService??>
134
135 <#assign articleById = journalArticleLocalService.getArticle(getterUtil.getLong(groupId), id) />
136
137 <#assign document = saxReaderUtil.read(articleById.getContentByLocale(locale)) >
138
139
140
141 <#assign hrefCategorias ="&filtros=Maila">
142
143 <!-- Para saber si mostrar el bloque o no-->
144 <#assign mostrarBloqueNivel = "NO">
145 <#assign mostrarBloqueFormato = "NO">
146 <#assign mostrarBloqueObjDidacticos = "NO">
147 <#assign mostrarBloqueObjDidacticosBakarka = "NO">
148 <#assign mostrarBloqueObjDidacticosTaldeLana = "NO">
149 <#assign mostrarBloqueObjDidacticosJardunbikoa = "NO">
150 <#assign mostrarBloqueDialecto="NO"/>
151
152 <#list categoryList as category>
153 <#if category.getName() == "A1" || category.getName() == "A2" ||
154 category.getName() == "B1" || category.getName() == "B2" ||
155 category.getName() == "C1" || category.getName() == "C2">
156 <#assign mostrarBloqueNivel = "SI">
157 </#if>
158 <#if category.getName() == "Entzungaiak" || category.getName() == "Bideoak" || category.getName() == "Idatziak">
159 <#assign mostrarBloqueFormato = "SI">
160 </#if>
161 <#if category.getVocabularyId() == idVocabuOD>
162 <#assign mostrarBloqueObjDidacticos = "SI">
163 </#if>
164 <#if category.getVocabularyId() == idVocabuDialecto>
165 <#assign mostrarBloqueDialecto="SI"/>
166 </#if>
167 </#list>
168
169
170 <!-- DOKUTEKA -->
171 <div class="col-xs-12 col-md-12 col-lg-12 separacionTitulo sinMargenIzq row">
172 <h4 class="text-white p-2">${dokuteka}</h4>
173 </div>
174
175 <!--categorias nivel-->
176 <#if mostrarBloqueNivel == "SI">
177
178 <div class="col-xs-12 col-md-12 col-lg-12 separacionNivelesDokuteka sinMargenIzq row">
179
180 <div class="col-xs-2 col-md-2 col-lg-2">
181 <i class="fa fa-signal-D dokuteka" aria-hidden="true" title="${niveles}"></i>
182 </div>
183 <div class="col-xs-10 col-md-10 col-lg-10">
184 <#list categoryList as category>
185 <#if category.getName() == "A1" || category.getName() == "A2" ||
186 category.getName() == "B1" || category.getName() == "B2" ||
187 category.getName() == "C1" || category.getName() == "C2">
188 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1569830512685&filtros=Maila&Maila=${category.getCategoryId()}&ordenarPor=Pub.+data" class="${category.getName()}" title="${category.getName()}">${category.getName()}</a>
189 <#assign hrefCategorias ="${hrefCategorias}&Maila=${category.getCategoryId()}">
190 </#if>
191 </#list>
192 </div>
193 </div>
194
195
196 </#if>
197
198
199
200 <!--categorias formato -->
201 <#if mostrarBloqueFormato == "SI">
202 <div class="col-xs-12 col-md-12 col-lg-12 separacionCategoriasDokuteka sinMargenIzq row">
203 <div class="col-xs-2 col-md-2 col-lg-2">
204 <i class="fa fa-info-circle-D dokuteka" aria-hidden="true" title="${formatos}"></i>
205 </div>
206 <div class="col-xs-10 col-md-10 col-lg-10">
207 <#list categoryList as category>
208 <#if category.getName() == "Entzungaiak">
209 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(category.getCategoryId())/>
210 <#list assetCategoryPropertyList as assetCategoryProperty>
211 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
212 <#if (assetCategoryKey == idioma)>
213 <#assign property_value=assetCategoryProperty.getValue()/>
214 </#if>
215 </#list>
216 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1569830512685&filtros=Formato&Formato=${category.getCategoryId()}${hrefCategorias}${hrefEM}&ordenarPor=Pub.+data" class="fa fa-headphones-H" title="${property_value}"></a>
217 </#if>
218 <#if category.getName() == "Bideoak">
219 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(category.getCategoryId())/>
220 <#list assetCategoryPropertyList as assetCategoryProperty>
221 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
222 <#if (assetCategoryKey == idioma)>
223 <#assign property_value=assetCategoryProperty.getValue()/>
224 </#if>
225 </#list>
226 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1569830512685&filtros=Formato&Formato=${category.getCategoryId()}${hrefCategorias}${hrefEM}&ordenarPor=Pub.+data" class="fa fa-television-H" title="${property_value}"></a>
227 </#if>
228 <#if category.getName() == "Idatziak">
229 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(category.getCategoryId())/>
230 <#list assetCategoryPropertyList as assetCategoryProperty>
231 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
232 <#if (assetCategoryKey == idioma)>
233 <#assign property_value=assetCategoryProperty.getValue()/>
234 </#if>
235 </#list>
236 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1569830512685&filtros=Formato&Formato=${category.getCategoryId()}${hrefCategorias}${hrefEM}&ordenarPor=Pub.+data" class="fa fa-newspaper-o-H" title="${property_value}"></a>
237 </#if>
238 </#list>
239 </div>
240 </div>
241 </#if>
242
243 <!-- Fecha de visualización -->
244
245 <#if mostrarBloqueNivel == "NO" && mostrarBloqueFormato == "NO">
246 <div class="col-xs-12 col-md-12 col-lg-12 separacionNivelesDokuteka sinMargenIzq row">
247 <#else>
248 <div class="col-xs-12 col-md-12 col-lg-12 separacionFechaDokuteka sinMargenIzq row">
249 </#if>
250 <div class="col-xs-2 col-md-2 col-lg-2">
251 <i class="fa fa-clock-o-D dokuteka" aria-hidden="true" title="${calendario}"></i>
252 </div>
253 <div class="col-xs-10 col-md-10 col-lg-10">
254 <#if articleById??>
255 <#if articleById.getDisplayDate()??>
256<#assign date = articleById.getDisplayDate() >
257<#else>
258 <#assign date = articleById.getCreateDate() >
259</#if>
260<#if date??>
261 <#if locale=='es_ES'>
262 ${date?string["dd-MM-yyyy"]}
263 </#if>
264 <#if locale=='eu_ES'>
265 ${date?string["yyyy-MM-dd"]}
266 </#if>
267 <#if locale=='fr_FR'>
268 ${date?string["dd-MM-yyyy"]}
269 </#if>
270 <#if locale=='en_US'>
271 ${date?string["MM-dd-yyyy"]}
272 </#if>
273 </#if>
274 </#if>
275 </div>
276 </div>
277
278 <!--Fuente y Autor-->
279 <div id="embedded-articlenextevents-portlet" class="col-xs-12 col-md-12 col-lg-12 row separacionFuenteAutorDokuteka sinMargenIzq embebido">
280 <@liferay_portlet["runtime"] portletName="x61pRelaContWAR_WAR_x61pRelaContWARportlet" queryString="idArticulo=${id}&visualizacion=${parcial}"/>
281 </div>
282
283 <!-- Id article del contenido -->
284 <div class="col-xs-12 col-md-12 col-lg-12 separacionIdArticleDokuteka sinMargenIzq row">
285 <div class="col-xs-2 col-md-2 col-lg-2">
286 <i class="fa fa-key-D dokuteka" aria-hidden="true" title="${numero}"></i>
287 </div>
288 <div class="col-xs-10 col-md-10 col-lg-10">
289 ${id}
290 </div>
291 </div>
292
293
294 <!-- Objetivos didacticos-->
295 <#if mostrarBloqueObjDidacticos == "SI">
296 <div class="col-xs-12 col-md-12 col-lg-12 separacionObjDidacticosDokuteka sinMargenIzq row">
297 <div class="col-xs-2 col-md-2 col-lg-2">
298 <i class="fa fa-bullseye-D dokuteka" aria-hidden="true" title="${objDid}"></i>
299 </div>
300 <div class="col-xs-10 col-md-10 col-lg-10">
301 <ul class="sinPunto">
302 <#list categoryList as catOD>
303 <#if catOD.getVocabularyId() == idVocabuOD>
304 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(catOD.getCategoryId())/>
305 <#list assetCategoryPropertyList as assetCategoryProperty>
306 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
307 <#if (assetCategoryKey == idioma)>
308 <#assign property_value=assetCategoryProperty.getValue()/>
309 </#if>
310 </#list>
311 <#if (property_value == "Bakarka" || property_value == "Tarea individual" || property_value == "Individual task" || property_value == "Tâche individuel")>
312 <#assign mostrarBloqueObjDidacticosBakarka = "SI">
313 <#elseif (property_value == "Talde-lana" || property_value == "Tarea colaborativa" || property_value == "Teamwork" || property_value == "Tâche collaborative")>
314 <#assign mostrarBloqueObjDidacticosTaldeLana = "SI">
315 <#elseif (property_value == "Jardun bikoa" || property_value == "Aprendizaje semipresencial" || property_value == "Blended learnig" || property_value == "Apprentissage semipresentiel")>
316 <#assign mostrarBloqueObjDidacticosJardunbikoa = "SI">
317 <#else>
318 <li>
319 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1554897302092&filtros=Formato&Formato=${catOD.getCategoryId()}${hrefCategorias}${hrefEM}&ordenarPor=Pub.+data" title="${property_value}">${property_value}</a>
320 </li>
321 </#if>
322 </#if>
323 </#list>
324 </ul>
325 </div>
326 </div>
327 </#if>
328 <!-- Objetivos didacticos Bakarka-->
329 <#if mostrarBloqueObjDidacticosBakarka == "SI">
330 <div class="col-xs-12 col-md-12 col-lg-12 separacionObjDidacticosDokuteka sinMargenIzq row">
331 <div class="col-xs-2 col-md-2 col-lg-2">
332 <i class="fa-bakarka-D" aria-hidden="true"></i>
333 </div>
334 <div class="col-xs-10 col-md-10 col-lg-10">
335 <ul class="sinPunto">
336 <#list categoryList as catOD>
337 <#if catOD.getVocabularyId() == idVocabuOD>
338 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(catOD.getCategoryId())/>
339 <#list assetCategoryPropertyList as assetCategoryProperty>
340 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
341 <#if (assetCategoryKey == idioma)>
342 <#assign property_value=assetCategoryProperty.getValue()/>
343 </#if>
344 </#list>
345 <#if (property_value == "Bakarka" || property_value == "Tarea individual" || property_value == "Individual task" || property_value == "Tâche individuel")>
346 <li>
347 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1554897302092&filtros=Formato&Formato=${catOD.getCategoryId()}${hrefCategorias}${hrefEM}&ordenarPor=Pub.+data" title="${property_value}">${property_value}</a>
348 </li>
349 </#if>
350 </#if>
351 </#list>
352 </ul>
353 </div>
354 </div>
355 </#if>
356 <!-- Objetivos didacticos Talde-Lana-->
357 <#if mostrarBloqueObjDidacticosTaldeLana == "SI">
358 <div class="col-xs-12 col-md-12 col-lg-12 separacionObjDidacticosDokuteka sinMargenIzq row">
359 <div class="col-xs-2 col-md-2 col-lg-2">
360 <i class="fa-taldeLana-D" aria-hidden="true"></i>
361 </div>
362 <div class="col-xs-10 col-md-10 col-lg-10">
363 <ul class="sinPunto">
364 <#list categoryList as catOD>
365 <#if catOD.getVocabularyId() == idVocabuOD>
366 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(catOD.getCategoryId())/>
367 <#list assetCategoryPropertyList as assetCategoryProperty>
368 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
369 <#if (assetCategoryKey == idioma)>
370 <#assign property_value=assetCategoryProperty.getValue()/>
371 </#if>
372 </#list>
373 <#if (property_value == "Talde-lana" || property_value == "Tarea colaborativa" || property_value == "Teamwork" || property_value == "Tâche collaborative")>
374 <li>
375 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1554897302092&filtros=Formato&Formato=${catOD.getCategoryId()}${hrefCategorias}${hrefEM}&ordenarPor=Pub.+data" title="${property_value}">${property_value}</a>
376 </li>
377 </#if>
378 </#if>
379 </#list>
380 </ul>
381 </div>
382 </div>
383 </#if>
384 <!-- Objetivos didacticos Jardunbikoa-->
385 <#if mostrarBloqueObjDidacticosJardunbikoa == "SI">
386 <div class="col-xs-12 col-md-12 col-lg-12 separacionObjDidacticosDokuteka sinMargenIzq row">
387 <div class="col-xs-2 col-md-2 col-lg-2">
388 <i class="fa-jardunbikoa-D" aria-hidden="true"></i>
389 </div>
390 <div class="col-xs-10 col-md-10 col-lg-10">
391 <ul class="sinPunto">
392 <#list categoryList as catOD>
393 <#if catOD.getVocabularyId() == idVocabuOD>
394 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(catOD.getCategoryId())/>
395 <#list assetCategoryPropertyList as assetCategoryProperty>
396 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
397 <#if (assetCategoryKey == idioma)>
398 <#assign property_value=assetCategoryProperty.getValue()/>
399 </#if>
400 </#list>
401 <#if (property_value == "Jardun bikoa" || property_value == "Aprendizaje semipresencial" || property_value == "Blended learnig" || property_value == "Apprentissage semipresentiel")>
402 <li>
403 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1554897302092&filtros=Formato&Formato=${catOD.getCategoryId()}${hrefCategorias}${hrefEM}&ordenarPor=Pub.+data" title="${property_value}">${property_value}</a>
404 </li>
405 </#if>
406 </#if>
407 </#list>
408 </ul>
409 </div>
410 </div>
411 </#if>
412
413 <!-- Dialecto-->
414 <#if (mostrarBloqueDialecto == "SI")>
415 <div class="col-xs-12 col-md-12 col-lg-12 separacionDialectoDokuteka sinMargenIzq row">
416 <div class="col-xs-2 col-md-2 col-lg-2">
417 <i class="fa fa-file-o-D dokuteka" aria-hidden="true" title="${dialecto}"></i>
418 </div>
419 <div class="col-xs-10 col-md-10 col-lg-10">
420 <ul class="sinPunto">
421 <#list categoryList as catDialecto>
422 <#if catDialecto.getVocabularyId() == idVocabuDialecto>
423 <#assign assetCategoryPropertyList =assetCategoryPropertyLocalServiceUtil.getCategoryProperties(catDialecto.getCategoryId())/>
424 <#list assetCategoryPropertyList as assetCategoryProperty>
425 <#assign assetCategoryKey = assetCategoryProperty.getKey()/>
426 <#if (assetCategoryKey == idioma)>
427 <#assign property_value=assetCategoryProperty.getValue()/>
428 </#if>
429 </#list>
430 <li>
431 <a href="/bilatzaile-orokorra?_x61pbuscadorGeneralWAR_WAR_x61pbuscadorGeneralWARportlet_formDate=1554897302092&Nivel=${catDialecto.getCategoryId()}&ordenarPor=Pub.+data" title="${property_value}">${property_value}</a>
432 </li>
433 </#if>
434 </#list>
435 </ul>
436 </div>
437 </div>
438 </#if>
439
440 <!--Duración -->
441 <#assign iraupena = document.valueOf("//dynamic-element[@name='iraupena']/dynamic-content/text()") />
442 <#if iraupena!=''>
443 <div class="col-xs-12 col-md-12 col-lg-12 separacionDuracionDokuteka sinMargenIzq row">
444 <div class="col-xs-2 col-md-2 col-lg-2">
445 <i class="fa fa-duracion-D dokuteka" aria-hidden="true" title="${duracion}"></i>
446 </div>
447 <div class="col-xs-10 col-md-10 col-lg-10">
448 ${iraupena}
449 </div>
450 </div>
451 </#if>
452 <!-- Incrementamos el valor de las visitas cada vez que se entra en el detalle-->
453 <#if artResourcePK !=0 >
454 <#assign assetEntryLocalServiceUtil = staticUtil['com.liferay.asset.kernel.service.AssetEntryLocalServiceUtil']>
455 <#assign assetEntry = assetEntryLocalServiceUtil.getEntry("com.liferay.journal.model.JournalArticle", artResourcePK)>
456
457 <#assign assetEntryIncrementado =assetEntryLocalServiceUtil.incrementViewCounter(assetEntry.getUserId(), assetEntry)>
458
459 <!-- Numero de visitas pendiente de mirar Hegoa como sacarlo-->
460 <div class="col-xs-12 col-md-12 col-lg-12 separacionVisitasDokuteka sinMargenIzq row">
461 <div class="col-xs-2 col-md-2 col-lg-2">
462 <i class="fa fa-users-D dokuteka" aria-hidden="true" title="${numVisitas}"></i>
463 </div>
464 <div class="col-xs-10 col-md-10 col-lg-10">
465 <@liferay_portlet["runtime"] portletName="x61pViewCountWAR_WAR_x61pViewCountWARportlet" queryString="idArticulo=${id}"/>
466 </div>
467 </div>
468 <div class="hidden tipoFicha"><span class="urlVuelta"><a href="${urlVuelta}"> </a></span><span class="urlVueltaDoc"><a href="${urlVueltaDoc}"> </a></span></div>
469
470 </#if>
471
472 </#if>
473</#if>
474
475<script>
476if($("#embedded-articlenextevents-portlet.embebido ul li div.fuenteAutor").length){
477 $("#embedded-articlenextevents-portlet.embebido ul li div.fuenteAutor").parents("#embedded-articlenextevents-portlet").show();
478}
479</script>
