detalle dokuteka-generico-fitxa

An error occurred while processing the template.
The following has evaluated to null or missing:
==> bideoa  [in template "20902#20940#7085098" at line 289, column 6]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if bideoa != ""  [in template "20902#20940#7085098" at line 289, column 1]
----
1<#assign inprimatujarduera = "Inprimatu jarduera"> 
2<#assign bajar = "Jaitsi"> 
3<#assign transcripcion = "Transkripzioa"> 
4<#assign completa = "completa"> 
5<#assign irekijarduera = "Ireki jarduera"> 
6<#assign idioma=locale?substring(0,locale?index_of("_")) > 
7 
8<#if locale=='en_US'> 
9    	<#assign irekijarduera = 'Go to the exercise'> 
10	<#assign inprimatujarduera = 'Print exercise'> 
11	<#assign bajar = "Download"> 
12	<#assign transcripcion = "Transcription"> 
13</#if> 
14<#if locale=='fr_FR'> 
15    	<#assign irekijarduera = "Aller à l'exercice"> 
16	<#assign inprimatujarduera = "Imprimer l’exercice"> 
17	<#assign bajar = "Télécharger"> 
18	<#assign transcripcion = "Transcription"> 
19</#if> 
20<#if locale=='es_ES'> 
21<#assign irekijarduera = 'Abrir tarea'> 
22	<#assign inprimatujarduera = 'Imprimir tarea'> 
23	<#assign bajar = "Bajar"> 
24	<#assign transcripcion = "Transcripción"> 
25</#if> 
26 
27<script type="text/javascript"> 
28	$( document ).ready(function( $ ) { 
29		$("#trasnkripzioazabaldu").click(function(event) { 
30			$("#trasnkripzioedukia").show(); 
31			$("#trasnkripzioazabaldu").hide(); 
32				 
33			$("#trasnkripzioaestutu").show(); 
34			return false; 
35		}); 
36		$("#trasnkripzioaestutu").click(function(event) { 
37			$("#trasnkripzioedukia").hide(); 
38			$("#trasnkripzioazabaldu").show(); 
39			$("#trasnkripzioaestutu").hide(); 
40			return false; 
41		}); 
42	}); 
43	  
44		fullscreenHider = document.getElementById("btnExitFullScreen"); 
45        fullScreenToggler  = document.getElementById("btnFullScreen"); 
46</script>		 
47<link rel="stylesheet" href="/o/x61tThemeIkasbilWAR-theme/css/scriptVideo.css"> 
48<style type="text/css">		 
49	 
50.fullscreen {z-index: 2789034264 !important; position: absolute !important; width: 80% !important; bottom: 3% !important; left: 10% !important; right: 10% !important; } 
51     .fullscreenBtn { 
52        text-indent: 0px; 
53        color: #fabd48; 
54        background-color: none; 
55        
56        padding: 0px; 
57        font-weight: bold; 
58        padding-bottom: 3px; 
59
60    .exitFullScreenBtn{ 
61        text-indent: 0px; 
62        color: #fabd48; 
63        background-color: none; 
64        
65        padding: 0px; 
66        font-weight: bold; 
67        padding-bottom: 3px; 
68
69     
70	.printhide { 
71		display: none; 
72
73	#trasnkripzioedukia { 
74		padding: 1em; 
75		background-color: #e7e7e7; 
76		color: black !important; 
77		display: none; 
78
79	#transkripzioa { 
80		margin-top: 1em; 
81		margin-bottom: 1em; 
82
83	 
84</style>			 
85 
86<#assign id = paramUtil.getString(request, "articleId")> 
87	<#assign DLAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService")> 
88<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
89 
90<#assign getterUtil = staticUtil["com.liferay.portal.kernel.util.GetterUtil"] /> 
91 
92<#if id?has_content> 
93    <#if journalArticleLocalService??> 
94 
95        <#assign articleById = journalArticleLocalService.getDisplayArticle(getterUtil.getLong(groupId), id) /> 
96         
97        <#assign document = saxReaderUtil.read(articleById.getContentByLocale(locale)) > 
98                     
99        <#assign izenburua = document.valueOf("//dynamic-element[@name='izenburua']/dynamic-content/text()") /> 
100        <#assign laburpena = document.valueOf("//dynamic-element[@name='laburpena']/dynamic-content/text()") /> 
101        <#assign deskribapena = document.valueOf("//dynamic-element[@name='deskribapena']/dynamic-content/text()") /> 
102        <#assign irudia = document.valueOf("//dynamic-element[@name='irudia']/dynamic-content/text()") /> 
103		<#assign idMoodle = document.valueOf("//dynamic-element[@name='id_moodle']/dynamic-content/text()") /> 
104		<#assign idExternalMoodle = document.valueOf("//dynamic-element[@name='id_external_moodle']/dynamic-content/text()") /> 
105		<#assign bideoa = document.valueOf("//dynamic-element[@name='bideoa']/dynamic-content/text()") /> 
106		<#assign youtubeko_bideoa = document.valueOf("//dynamic-element[@name='youtubeko_bideoa']/dynamic-content/text()") /> 
107		<#assign transkripzioa = document.valueOf("//dynamic-element[@name='transkripzioa']/dynamic-content/text()") /> 
108        <#assign audio = document.valueOf("//dynamic-element[@name='audioa']/dynamic-content/text()") />             
109		<#assign irrati_nobela = document.valueOf("//dynamic-element[@name='irratinobelaren_zenbakia']/dynamic-content/text()") /> 
110         
111        <div class="fitxa separadorIzq">  
112			<#if irrati_nobela !=""> 
113				<div id="numCapi"></div> 
114				<#assign articleIrrati = journalArticleLocalService.getDisplayArticle(getterUtil.getLong(groupId), irrati_nobela) /> 
115				<#assign documentIrrati = saxReaderUtil.read(articleIrrati.getContentByLocale(locale)) > 
116				<#assign zenbakiakIrrati = documentIrrati.valueOf("//dynamic-element[@name='zenbakiak']") /> 
117				<#assign numeros = documentIrrati.selectNodes("//dynamic-element[@name='zenbakiak']") /> 
118				<#assign primero= '0' /> 
119				<#assign ultimo= '0' /> 
120				<#assign anterior= '0' /> 
121				<#assign siguiente= '0' /> 
122				 
123				<#assign atzera= '0' /> 
124				<#assign aurrera= '0' /> 
125				<#assign lehena= '0' /> 
126				<#assign azkeana= '0' /> 
127				<#assign atzekoa= '0' /> 
128				<#assign aurkitua= false /> 
129				<#list numeros as numero> 
130					<#assign zenbakia = numero.valueOf("dynamic-content/text()") /> 
131					<#if primero == '0'> 
132					    <#assign primero= zenbakia /> 
133					</#if> 
134					<#if anterior == '0'> 
135					    <#assign anterior= zenbakia /> 
136					</#if> 
137					<#if id == zenbakia> 
138					   <#assign atzera= anterior /> 
139					   <#assign aurkitua= true /> 
140					</#if> 
141			        <#if aurkitua && anterior == id > 
142					   <#assign aurrera= zenbakia /> 
143					   <#assign aurkitua= true /> 
144					</#if> 
145			    	<#if lehena =='0'> 
146			    	    <#assign lehena= id /> 
147			    	</#if> 
148				    <#assign anterior= zenbakia /> 
149				    
150				    <#assign ultimo= zenbakia /> 
151				</#list> 
152		 
153				<#assign url_docuteka_detalle= "/${idioma}/dokutekako-fitxa?articleId=" /> 
154				<div class="paginacion"> 
155					<div id="paginacionMenuIni"> 
156					 
157					<#if primero!=id> 
158						<a id="orriajalehena" href="${url_docuteka_detalle}${primero}" >&lt; &lt; |</a> 
159					<#else> 
160						<span class="aurreraatzerades">&lt; &lt; |</span> 
161			        </#if> 
162			        <#if atzera !='0' > 
163							<a id="orriajaatzera" href="${url_docuteka_detalle}${atzera}" >&lt; |</a> 
164			        <#else> 
165						<span class="aurreraatzerades">&lt; |</span> 
166			        </#if> 
167			            <a href="/${idioma}/irrati-nobelak-fitxa?articleId=${irrati_nobela}"> Irrati Nobeletako Fitxara joan </a> 
168			        <#if aurrera != '0'> 
169						<a id="orriajaaurrera" href="${url_docuteka_detalle}${aurrera}" >| &gt;</a> 
170			        <#else> 
171						<span class="aurreraatzerades">| &gt;</span> 
172			        </#if> 
173        			<#if ultimo != '0'> 
174        						<a id="orriajaazkena" href="${url_docuteka_detalle}${ultimo}" >| &gt; &gt;</a> 
175        			<#else> 
176        						<span class="aurreraatzerades">| &gt; &gt;</span> 
177        			</#if> 
178					</div> 
179				</div> 
180			</#if> 
181			 
182            <h2>${izenburua}</h2> 
183         
184         
185            <div id="impedukia" class="col-xs-12 col-md-12 col-lg-12">  
186         
187             
188                <h3>${laburpena}</h3> 
189             
190				<div id="ataza"> 
191					<#if idMoodle !="" || idExternalMoodle !=""> 
192						<a class="jarduerabtn" href="#"><label>${irekijarduera}</label></a> 
193					</#if> 
194		 
195				</div> 
196				 
197                <div id="deskribapena"> 
198                    <div> 
199                      <p>${deskribapena}</p> 
200                    </div> 
201                 
202                </div> 
203			<#-- Procesar audio si tiene contenido --> 
204<#if audio?has_content && audio?contains("uuid")> 
205    <#assign audioJson = jsonFactoryUtil.createJSONObject(audio) /> 
206    <#assign posterEntryA = DLAppService.getFileEntryByUuidAndGroupId(audioJson.getString("uuid"), audioJson.getLong("groupId")) /> 
207    <#assign audioUrl = themeDisplay.getPortalURL() + themeDisplay.getPathContext() + "/documents/" 
208        + posterEntryA.getGroupId() + "/" + posterEntryA.getFolderId() + "/" + htmlUtil.escapeURL(posterEntryA.getTitle()) + "/" + posterEntryA.getUuid() 
209        + "?t=" + posterEntryA.getModifiedDate()?long /> 
210</#if>	 
211				<!--audio--> 
212				<div style="clear:both"><br></div> 
213			    <#if audio !=""> 
214					<a class="botonEnlaceDokuteka" href="${audioUrl}" target="_blank">${bajar} <i class="fa fa-download"></i> </a> 
215					<div style="clear:both"></div> 
216					<div id="audio"> 
217						<div> 
218							<audio controls class="anchoAudio"> 
219								<source src="audio.ogg" type="audio/ogg"> 
220								<source src="${audioUrl}" type="audio/mp3"> 
221							</audio> 
222						</div> 
223					</div> 
224				</#if> 
225			 
226 
227<#assign videoUrl = "" /> 
228<#assign posterUrl = "" /> 
229 
230<#-- Procesar bideoa si tiene contenido --> 
231<#if bideoa?has_content && bideoa?contains("uuid")> 
232    <#assign bideoJson = jsonFactoryUtil.createJSONObject(bideoa) /> 
233    <#assign videoEntry = DLAppService.getFileEntryByUuidAndGroupId(bideoJson.getString("uuid"), bideoJson.getLong("groupId")) /> 
234    <#assign videoUrl = themeDisplay.getPortalURL() + themeDisplay.getPathContext() + "/documents/" 
235        + videoEntry.getGroupId() + "/" + videoEntry.getFolderId() + "/" + htmlUtil.escapeURL(videoEntry.getTitle()) + "/" + videoEntry.getUuid() 
236        + "?t=" + videoEntry.getModifiedDate()?long /> 
237</#if> 
238 
239<#-- Procesar irudia si tiene contenido --> 
240<#if irudia?has_content && irudia?contains("uuid")> 
241    <#assign irudiaJson = jsonFactoryUtil.createJSONObject(irudia) /> 
242    <#assign posterEntry = DLAppService.getFileEntryByUuidAndGroupId(irudiaJson.getString("uuid"), irudiaJson.getLong("groupId")) /> 
243    <#assign posterUrl = themeDisplay.getPortalURL() + themeDisplay.getPathContext() + "/documents/" 
244        + posterEntry.getGroupId() + "/" + posterEntry.getFolderId() + "/" + htmlUtil.escapeURL(posterEntry.getTitle()) + "/" + posterEntry.getUuid() 
245        + "?t=" + posterEntry.getModifiedDate()?long /> 
246</#if> 
247 
248<#if videoUrl?has_content> 
249    <div id="bideo"> 
250        <a class="botonEnlaceDokuteka" href="${videoUrl}" target="_blank">${bajar} <i class="fa fa-download"></i></a> 
251        <#if !videoUrl?contains(".flv")> 
252            <div> 
253                <video controls width="95%" <#if posterUrl?has_content>poster="${posterUrl}"</#if>> 
254                    <source src="${videoUrl}" type="video/mp4"> 
255                    Your browser does not support the video tag. 
256                </video> 
257            </div> 
258        </#if> 
259    </div> 
260</#if> 
261 
262				<div style="clear:both"></div> 
263				<#if youtubeko_bideoa !=""> 
264					<div id="bideoyoutubeko"> 
265						${youtubeko_bideoa} 
266					</div> 
267				</#if> 
268				<div style="clear:both"></div> 
269				 
270				<#if transkripzioa !=""> 
271					<div id="transkripzioa"> 
272						<a id="trasnkripzioazabaldu" class="botonEnlaceDokuteka" href="#"> ${transcripcion}:[+]</a> 
273						<a id="trasnkripzioaestutu" href="#" class="printhide botonEnlaceDokuteka"> ${transcripcion}:[-]</a> 
274						<div id="trasnkripzioedukia"> 
275							${transkripzioa} 
276						</div> 
277					</div> 
278				</#if>	 
279				 
280            </div> 
281        </div> 
282		 
283		<div id="embedded-articlenextevents-portlet"> 
284			<@liferay_portlet["runtime"] portletName="x61pRelaContWAR_WAR_x61pRelaContWARportlet" queryString="idArticulo=${id}&visualizacion=${completa}"/> 
285		</div> 
286 
287    </#if> 
288</#if> 
289<#if bideoa !=""> 
290	<script src="/o/x61tThemeIkasbilWAR-theme/js/scriptVideo9.js"></script> 
291</#if> 

detalle2

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

anadir a favorito

x61pAnadirFavoritoWAR