ergonomia_trabajo_con_pvd

Se ha producido un error al procesar la plantilla.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> documentTitle  [in template "com.liferay.portal.template.freemarker_7.0.47_CLASS_LOADER_CONTEXT_FTL_upvlibs.ftl" at line 1651, column 22]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if documentTitle.getData()?? && docu...  [in template "com.liferay.portal.template.freemarker_7.0.47_CLASS_LOADER_CONTEXT_FTL_upvlibs.ftl" in macro "formatAttachmentNew" at line 1651, column 17]
	- Reached through: @upvlibs.formatAttachmentNew document...  [in template "com.liferay.portal.template.freemarker_7.0.47_CLASS_LOADER_CONTEXT_FTL_upvlibs.ftl" in macro "writeHtmlForDocumentsNew" at line 1914, column 57]
	- Reached through: @upvlibs.writeHtmlForDocumentsNew doc...  [in template "10112#522485#994774" at line 525, column 25]
----
1<#-- 
2# ========== 
3## Constantes 
4## ==========--> 
5 
6<#assign cUrlsRelativas_Pref	= "./" > 
7 
8<#assign cTxtNewWindow			= languageUtil.get( locale, "opens-new-window" ) > 
9<#assign cTxtPhoto				= languageUtil.get( locale, "ehu.photo" ) > 
10 
11<#assign cHtmlTxtIconNewTab		= '<span class="icon-external-link"></span>' > 
12<#assign cHtmlTxtTagNewTab		= '<span class="sr-only">' + cTxtNewWindow + '</span>' > 
13<#assign cHtmlTxtTargetNewTab	= ' target="_blank" ' > 
14 
15<#assign isGlobal				= (themeDisplay.getTheme().getContextPath() == "/o/upv-ehu-global-theme") > 
16 
17<#if !isGlobal > 
18	<#assign articleClass		= "information" > 
19	<#assign sectionClass		= "upv-ehu-image-description" > 
20	<#assign sectionTitleClass	= "info-section" > 
21	<#assign sectionDescClass	= "main" > 
22	<#assign footerClass		= "content-footer" > 
23	<#assign sectionHeaderTag	= "header" > 
24	<#assign imageFootTag		= "figcaption" > 
25	<#assign htmlTitleClass		= "" > 
26	<#assign htmlIndexNavClass	= "" > 
27	<#assign htmlNavHrefIconTag	= "" > 
28<#else> 
29	<#assign articleClass		= "information-detail" > 
30	<#assign sectionClass		= "information-detail__body__section" > 
31	<#assign sectionTitleClass	= "information-detail__body__section__title" > 
32	<#assign sectionDescClass	= "information-detail__body__section__entry" > 
33	<#assign footerClass		= "information-detail__footer" > 
34	<#assign sectionHeaderTag	= "h2" > 
35	<#assign imageFootTag		= "p" > 
36	<#assign htmlTitleClass		= ' class="information-detail__title"' > 
37	<#assign htmlIndexNavClass	= ' class="information-detail__body__anchors-nav"' > 
38	<#assign htmlNavHrefIconTag	= '<i class="icon-double-angle-down"></i>' > 
39</#if> 
40 
41<#assign entHeader = ehuheaderFieldSet > 
42<#assign info_title = "info-title-" + .vars['reserved-article-id'].data> 
43 
44 
45<#--  macros para las secciones --> 
46<#macro numElemsSeccion lista campo> 
47	<#assign numElems = 0 > 
48	<#if lista?? && lista?has_content> 
49		<#assign numElems = lista.getSiblings()?size > 
50	</#if> 
51	<#assign arrElems = lista.getSiblings() >	 
52	<#assign te_NumElems = 0> 
53	<#list arrElems as document >    
54	 	<#if document?? && document.get(campo)?? && document.get(campo).getData() != ""> 
55	 		<#assign te_NumElems = te_NumElems + 1> 
56	 	</#if> 
57	 </#list> 
58</#macro> 
59 
60 
61<#--  macros para  ehuattachments--> 
62 
63<#macro soloTitulo textBoxData arrSections> 
64	 
65	<#local haytextBoxData = getterUtil.getBoolean( "false")> 
66	<#if  textBoxData != "" > 
67		<#local haytextBoxData = getterUtil.getBoolean( "true")> 
68	</#if> 
69	<#local haySecciones = getterUtil.getBoolean( "false")> 
70	<#if arrSections??> 
71		<#list arrSections as section > 
72			<#local sectionName = ""> 
73			<#if section?? && section.getData()?? && section.getData()?has_content && section.getData()!= ""> 
74				<#local sectionName = section.getData()?html > 
75			</#if> 
76			 
77			<#local description = ""> 
78			<#if section.ehuinfodescription?? && section.ehuinfodescription.getData()?? && section.ehuinfodescription.getData()?has_content && section.ehuinfodescription.getData()!= "">	 
79				<#local description = section.ehuinfodescription.getData()> 
80			</#if> 
81			 
82			<#local entImage = section.ehuinfoimageFieldSet > 
83			<#local image = ""> 
84			<#if entImage?? && entImage.ehuinfoimage?? && entImage.ehuinfoimage.getData()?? && entImage.ehuinfoimage.getData()?has_content && entImage.ehuinfoimage.getData()!= ""> 
85				<#local image = entImage.ehuinfoimage.getData()?html> 
86			</#if> 
87			 
88			<#if section??> 
89				<@numElemsSeccion lista=section.ehuinfogeneraldatadocumentFieldSet campo="ehuinfogeneraldatadocument" /> 
90				<#local numValidDocs = te_NumElems > 
91				<@numElemsSeccion lista=section.ehuinfogeneraldataurlFieldSet campo="ehuinfogeneraldataurl" /> 
92				<#local numValidUrls = te_NumElems > 
93				<#if  sectionName != "" || description != "" || image != "" ||  (numValidDocs > 0) || (numValidUrls > 0) > 
94					<#local haySecciones = getterUtil.getBoolean( "true")> 
95				</#if> 
96			</#if> 
97		</#list> 
98	</#if> 
99	<#assign hayalgo = haySecciones || haytextBoxData> 
100</#macro> 
101 
102 
103<#-- HTML --> 
104<article class="${ articleClass } ${randomNamespace}"> 
105 
106	<#-- TITLE --> 
107	<#assign title = ""> 
108	<#if entHeader.ehuinfotitle?? && entHeader.ehuinfotitle.getData()?? && entHeader.ehuinfotitle.getData()?has_content> 
109		<#assign title = entHeader.ehuinfotitle.getData()?html > 
110		<#if  title != "" > 
111			<header id="${info_title}"> 
112				<h1${ htmlTitleClass }>${ title }</h1> 
113			</header> 
114		</#if> 
115	</#if> 
116	<#assign textBoxClass = "entry" > 
117	<#if isGlobal > 
118		<#assign textBoxClass = textBoxClass + " information-detail__subtitle" > 
119	</#if> 
120	<#assign textBoxData = "" > 
121	<#if entHeader.ehuinfointro?? && entHeader.ehuinfointro.getData()?? && entHeader.ehuinfointro.getData()?has_content> 
122		<#assign textBoxData = entHeader.ehuinfointro.getData()?html> 
123	</#if> 
124	<#assign esHTML = getterUtil.getBoolean("false")> 
125	<#if textBoxData?matches(r".*</?[a-z]+>.*", "ri")> 
126		<#assign esHTML = getterUtil.getBoolean("true")> 
127	</#if> 
128	<#if textBoxData?? && textBoxData != ""> 
129		<#if esHTML> 
130			${ textBoxData } 
131		<#else>	 
132			<p class="${ textBoxClass }">${ textBoxData }</p> 
133		</#if> 
134	</#if> 
135	<#if entHeader.ehuinfosubtitleFieldSet?? && entHeader.ehuinfosubtitleFieldSet.getSiblings()??> 
136		<@soloTitulo textBoxData entHeader.ehuinfosubtitleFieldSet.getSiblings() /> 
137	<#else> 
138		<#assign hayalgo = getterUtil.getBoolean( "false")> 
139		<#if  textBoxData != "" > 
140			<#assign hayalgo = getterUtil.getBoolean( "true")> 
141		</#if> 
142	</#if> 
143	 
144	 
145	<#assign pintar = hayalgo > 
146	<#if isGlobal && pintar> 
147		<div class="information-detail__body"> 
148	</#if> 
149 
150	<#assign titleIndex = "" > 
151	<#assign showIndex = getterUtil.getBoolean( "false")> 
152	<#if entHeader.ehuindex?? && entHeader.ehuindex.getData()?? && entHeader.ehuindex.getData()?has_content> 
153		<#assign showIndex = getterUtil.getBoolean( entHeader.ehuindex.getData()?html) > 
154	</#if> 
155	<#assign title = ""> 
156	<#if entHeader.ehuinfotitle?? && entHeader.ehuinfotitle.getData()?? && entHeader.ehuinfotitle.getData()?has_content> 
157		<#assign title =  entHeader.ehuinfotitle.getData()?html> 
158	</#if> 
159	 
160	<#if showIndex && entHeader.ehuinfosubtitleFieldSet?? && entHeader.ehuinfosubtitleFieldSet.getSiblings()??> 
161		 
162		<#-- Eliminacion de los espacios del titulo para que se pueda usuar como ancla --> 
163		<#-- Ademas, se dejan 20 caracteres como maximo --> 
164		<#assign titleIndexAux = title?replace( " ", "" ) > 
165		<#if (titleIndexAux?length > 19)> 
166			<#assign titleIndexAux2 = titleIndexAux?substring(0, 19) > 
167		<#else> 
168			<#assign titleIndexAux2 = titleIndexAux> 
169		</#if> 
170		 
171		<#-- Se elimina también el carácter doble comilla para que no interfiera con los enlaces - lagun 698390  --> 
172		<#assign titleIndex = titleIndexAux2?replace( '"', '' ) > 
173		<#assign subtitleIndex = 1 > 
174		<nav role="navigation"${ htmlIndexNavClass }> 
175			<ul> 
176			    <#list entHeader.ehuinfosubtitleFieldSet.getSiblings() as section > 
177			    	<#assign sectionName = ""> 
178					<#if section?? &&  section.ehuinfosubtitle?? &&  section.ehuinfosubtitle.getData()?has_content && section.ehuinfosubtitle.getData() != ""> 
179						<#assign sectionName = section.ehuinfosubtitle.getData()?html > 
180					</#if> 
181			 
182					 
183					<#-- Solo pintamos la sección en el índice si tiene título --> 
184					<#if sectionName == "" > 
185						<#assign image = ""> 
186						<#if section.ehuinfoimageFieldSet.ehuinfoimage?? && section.ehuinfoimageFieldSet.ehuinfoimage.getData()?? && section.ehuinfoimageFieldSet.ehuinfoimage.getData()?has_content> 
187							<#assign image = section.ehuinfoimageFieldSet.ehuinfoimage.getData()?html > 
188						</#if> 
189						<#if image == "" > 
190							<#assign description = ""> 
191							<#if section.ehuinfodescription?? && section.ehuinfodescription.getData()?? && section.ehuinfodescription.getData()?has_content> 
192								<#assign description = section.ehuinfodescription.getData()> 
193							</#if> 
194							<#if description == ""> 
195								<#--  macros para las secciones --> 
196								<@numElemsSeccion lista=section.ehuinfogeneraldatadocumentFieldSet campo="ehuinfogeneraldatadocument" /> 
197								<#assign numValidDocs = te_NumElems > 
198								<@numElemsSeccion lista=section.ehuinfogeneraldataurlFieldSet campo="ehuinfogeneraldataurl" /> 
199								<#assign numValidUrls = te_NumElems > 
200								<#if ( numValidDocs <= 0 && numValidUrls <= 0 ) > <#continue> </#if> 
201							</#if> 
202						</#if> 
203						<#assign sectionIndex = section?index + 1 > 
204						<#if  languageUtil.getLanguageId(locale) == "eu_ES" > 
205							<#assign sectionIndex = sectionIndex + "." > 
206						</#if> 
207						<#assign sectionName = languageUtil.format( locale, "ehu.section-x", sectionIndex ) > 
208					<#else>		 
209						<li> 
210							<a href="#${ titleIndex }${ subtitleIndex }">${ htmlNavHrefIconTag } 
211								<#if !isGlobal > 
212									${ sectionName } 
213								<#else> 
214									<span>${ sectionName }</span> 
215								</#if> 
216							</a> 
217						</li> 
218					</#if> 
219					<#assign subtitleIndex = subtitleIndex + 1 > 
220				</#list> 
221			</ul> 
222		</nav> 
223	</#if> 
224 
225	<#assign subtitleIndex = 1 > 
226	<#if entHeader.ehuinfosubtitleFieldSet?? && entHeader.ehuinfosubtitleFieldSet.getSiblings()??> 
227		<#list entHeader.ehuinfosubtitleFieldSet.getSiblings() as section > 
228			<#assign haySectionInfo = false > 
229			<#if !showIndex > 
230				<#assign htmlSectionId = "" > 
231			<#else> 
232				<#assign htmlSectionId = ' id="' + titleIndex + subtitleIndex?string + '"'> 
233				<#assign subtitleIndex = subtitleIndex + 1 > 
234			</#if> 
235			 
236			<#assign sectionName = "" > 
237			<#assign haySectionTitle = getterUtil.getBoolean( "false")>  
238			<#if section?? && section.ehuinfosubtitle?? && section.ehuinfosubtitle.getData()?? && section.ehuinfosubtitle.getData()?has_content> 
239				<#assign sectionName = section.ehuinfosubtitle.getData()?html > 
240				<#if sectionName != ""> 
241					<#assign haySectionTitle = getterUtil.getBoolean( "true")>  
242				</#if>			 
243			</#if> 
244			 
245			<#assign description = ""> 
246			<#if section.ehuinfodescription?? && section.ehuinfodescription.getData()?? && section.ehuinfodescription.getData()?has_content>	 
247				<#assign description = section.ehuinfodescription.getData() > 
248			</#if> 
249			<#assign entImage = section.ehuinfoimageFieldSet > 
250			<#assign image = ""> 
251			<#if entImage?? && entImage.ehuinfoimage?? && entImage.ehuinfoimage.getData()?? && entImage.ehuinfoimage.getData()?has_content> 
252				<#assign image = entImage.ehuinfoimage.getData()?html> 
253			</#if> 
254			<#assign numValidDocs = 0 > 
255			<#assign numValidUrls = 0 > 
256			<@numElemsSeccion lista=section.ehuinfogeneraldatadocumentFieldSet campo="ehuinfogeneraldatadocument" /> 
257			<#assign numValidDocs = te_NumElems > 
258			<@numElemsSeccion lista=section.ehuinfogeneraldataurlFieldSet campo="ehuinfogeneraldataurl" /> 
259			<#assign numValidUrls = te_NumElems > 
260	 
261			<#if  sectionName != "" || description != "" || image != "" ||  (numValidDocs > 0) || (numValidUrls > 0) > 
262				<section class="${ sectionClass }"${ htmlSectionId }> 
263			</#if> 
264			 
265			<#if sectionName != "" > 
266				<#assign haySectionInfo = true > 
267				<${ sectionHeaderTag } class="${ sectionTitleClass }"> 
268				<#if !isGlobal > 
269					<h2>${ sectionName }</h2> 
270				<#else> 
271					${ sectionName } 
272				</#if> 
273				</${ sectionHeaderTag }> 
274			</#if> 
275			 
276 
277			<#if  image != "" > 
278			 
279				<#assign haySectionInfo = true > 
280				<#assign image_src = htmlUtil.escape( image ) > 
281				 
282				<#assign imageAltText = ""> 
283				<#if entImage.ehuinfoimagealt?? && entImage.ehuinfoimagealt.getData()?? && entImage.ehuinfoimagealt.getData()?has_content> 
284					<#assign imageAltText = entImage.ehuinfoimagealt.getData()?html > 
285				</#if> 
286				 
287				<#assign imageFootText = "" > 
288				<#if entImage.ehuimagefoot?? && entImage.ehuimagefoot.getData()?? && entImage.ehuimagefoot.getData()?has_content> 
289					<#assign imageFootText = entImage.ehuimagefoot.getData()?html > 
290				</#if> 
291				 
292				<#assign imageAuthorText = ""> 
293				<#if entImage.ehuimageauthor?? && entImage.ehuimageauthor.getData()?? && entImage.ehuimageauthor.getData()?has_content> 
294					<#assign imageAuthorText = entImage.ehuimageauthor.getData()?html> 
295				</#if> 
296				 
297				<#assign image_align = ""> 
298				<#if entImage.ehuinfoimagedisposition?? && entImage.ehuinfoimagedisposition.getData()?? && entImage.ehuinfoimagedisposition.getData()?has_content> 
299					<#assign image_align = entImage.ehuinfoimagedisposition.getData()?html> 
300				</#if> 
301				 
302				<#assign entImageUrl = entImage.ehuinfoimageurlFieldSet> 
303				 
304				<#assign image_url = ""> 
305				<#if entImageUrl.ehuinfoimageurl?? && entImageUrl.ehuinfoimageurl.getData()?? && entImageUrl.ehuinfoimageurl.getData()?has_content> 
306					<#assign image_url = entImageUrl.ehuinfoimageurl.getData()?html> 
307				</#if> 
308				 
309				 
310				<#assign image_url_title = ""> 
311				<#if entImageUrl.ehuinfoimageurltitle?? && entImageUrl.ehuinfoimageurltitle.getData()?? && entImageUrl.ehuinfoimageurltitle.getData()?has_content > 
312					<#assign image_url_title = entImageUrl.ehuinfoimageurltitle.getData()?html> 
313				</#if> 
314				 
315				<#assign image_url_new_tab = getterUtil.getBoolean( "false")> 
316				<#if entImageUrl.ehuinfoimageurlnewtab?? && entImageUrl.ehuinfoimageurlnewtab.getData()?? && entImageUrl.ehuinfoimageurlnewtab.getData()?has_content> 
317					<#assign image_url_new_tab = getterUtil.getBoolean( entImageUrl.ehuinfoimageurlnewtab.getData()?html)> 
318				</#if> 
319				 
320				 
321				<#assign classFigure = "" > 
322				<#assign divFigure = false > 
323	 
324				<#if image_align == "top" || image_align == "bottom" > 
325					<#assign classFigure = "center" > 
326					<#if image_align == "bottom" > 
327						<#if description != "" > 
328							<div class="${ sectionDescClass }"> 
329								${ description } 
330							</div> 
331						</#if> 
332					</#if> 
333				<#else> 
334					<#if !isGlobal > 
335						<#if image_align == "right" > 
336							<#assign classAlign = image_align > 
337						<#else> 
338							<#assign classAlign =  "left"  > 
339						</#if> 
340						<div class="figure ${ classAlign } col-md-4"> 
341						<#assign divFigure = true > 
342					</#if> 
343				</#if> 
344				<#assign aFigureLink = false > 
345				 
346				<#if  image_url != "" >												 
347						 
348						<#assign urlTitle = image_url_title > 
349						<#if image_url_new_tab > 
350							<#assign htmlUrlTarget = ' target="_blank" ' > 
351						<#else> 
352							<#assign htmlUrlTarget = "" > 
353						</#if> 
354						<#if urlTitle != "" && image_url_new_tab > 
355							<#assign urlTitle = urlTitle + " _ " + cTxtNewWindow > 
356						</#if> 
357						<#if urlTitle != "" > 
358							<#assign htmlUrlTitle =  ' title="' + urlTitle + '" ' > 
359						<#else> 
360							<#assign htmlUrlTitle = "" > 
361						</#if>						 
362					</#if> 
363					 
364				<#if isGlobal > 
365					<#if image_align == "right" || image_align == "left"> 
366						<#assign classAlign = " " + image_align + " " > 
367					<#else> 
368						<#assign classAlign =  ""  > 
369					</#if> 
370					 
371					<#if  image_url != "" > 
372						<a class="figure-link center" href="${ image_url }"${ htmlUrlTitle }${ htmlUrlTarget }> 
373					</#if> 
374					 
375					<div class="information-detail__body__section__main-image${ classAlign }"> 
376					<#assign divFigure = true > 
377				</#if> 
378	 
379									 
380				<#if isGlobal ||  classFigure == ""> 
381					<#assign htmlFigureClass = "" > 
382				<#else> 
383					<#assign htmlFigureClass = ' class="' + classFigure + '"' > 
384				</#if> 
385				 
386							 
387				<#if !isGlobal &&  image_url != "" > 
388					<a class="figure-link center" href="${ image_url }"${ htmlUrlTitle }${ htmlUrlTarget }> 
389				</#if> 
390				 
391				<figure${ htmlFigureClass }> 
392				<img src="${ image_src }" alt="${ imageAltText }" /> 
393				 
394			 
395				<#if imageFootText != "" || imageAuthorText != "" > 
396					<#if isGlobal > 
397						<div class="main-image__footer"> 
398					</#if> 
399					<#if imageFootText == "" > 
400						<#assign txtPhoto = ""> 
401					<#else>	 
402						<#assign txtPhoto = imageFootText > 
403					</#if> 
404 
405					<#if imageAuthorText != "" > 
406						<#if imageFootText == "" > 
407							<#assign aux = ""> 
408						<#else>	 
409							<#assign aux = " | "  > 
410						</#if> 
411						<#assign txtPhoto = txtPhoto + aux + cTxtPhoto + ": " + imageAuthorText > 
412					</#if> 
413					<${ imageFootTag }>${ txtPhoto }</${ imageFootTag }> 
414					<#if isGlobal > 
415						</div> <#-- class="main-image__footer" --> 
416						</figure> 
417					<#else> 
418					 
419						</figure> 
420					</#if> 
421				<#else> 
422					 </figure> 
423					 <#-- 
424					<#if !isGlobal > 
425						</figure> 
426					</#if> 
427					 --> 
428				</#if> 
429	 
430				<#if !isGlobal > 
431					<#if image_url != "" > 
432						</a> 
433					</#if> 
434				</#if> 
435				<#if divFigure > 
436					</div> 
437				</#if> 
438				<#if isGlobal > 
439					<#if image_url != "" > 
440						</a> 
441					</#if> 
442				</#if> 
443	 
444				<#if image_align != "bottom" > 
445					<#if description != "" > 
446						<div class="${ sectionDescClass }"> 
447							${ description } 
448						</div> 
449					</#if> 
450				</#if> 
451	 
452				<#-- photo --> 
453				<#-- image & description --> 
454			<#else>	 
455				<#if  description != "" > 
456					<#assign haySectionInfo = true > 
457					<div class="${ sectionDescClass }"> 
458						${ description } 
459					</div> 
460				</#if> 
461				<#-- description --> 
462			</#if> 
463		 
464			<#if ( numValidDocs > 0 || numValidUrls > 0 ) > 
465				<#assign haySectionInfo = true > 
466				<@upvlibs.writeHtmlForDocumentsNew documents=section.ehuinfogeneraldatadocumentFieldSet nivel=3 encabezado="document" campo="ehuinfogeneraldatadocument" titulo="ehuinfogeneraldatadocumenttitle" tipo=1 adicional=0 /> 
467				<@upvlibs.writeHtmlForLinksNew links=section.ehuinfogeneraldataurlFieldSet nivel=3 encabezado="ehu.link" campo="ehuinfogeneraldataurl" titulo="ehuinfogeneraldataurltitle" newTab="ehuinfogeneraldataurlnewtab" tipo=1 adicional=0/> 
468				 
469			</#if> 
470	 
471			<#if isGlobal > 
472				<#if  sectionName != "" || description != "" || image != "" ||  (numValidDocs > 0) || (numValidUrls > 0) > 
473					</section> <#-- class="information-detail__body__section" --> 
474				</#if> 
475			</#if> 
476	 
477			<#if showIndex && haySectionInfo && haySectionTitle > 
478				<div class="backtop"> 
479					<a href="#${info_title}"> 
480						<#if !isGlobal > 
481							<@liferay.language key="up" /> 
482							<span class="icon-chevron-up"></span> 
483						<#else> 
484							<i class="icon-double-angle-up"></i>  
485							<span><@liferay.language key="ehu.back" /> 
486								<span><@liferay.language key="up" /></span> 
487							</span>  
488						</#if> 
489					</a> 
490				</div>				 
491			</#if> 
492			 
493			<#if !isGlobal > 
494				<#if  sectionName != "" || description != "" || image != "" ||  (numValidDocs > 0) || (numValidUrls > 0) > 
495					</section> <#-- class="information-detail__body__section" --> 
496				</#if> 
497			</#if> 
498			 
499		</#list> 
500	</#if> 
501	 
502	<#if isGlobal && pintar> 
503		</div> <#-- class="information-detail__body" --> 
504	</#if> 
505 
506	 
507	<#assign numValidDocs = 0 > 
508	<#if ehuattachmentsFieldSet.ehuinfoattachmentdocumentFieldSet?? && ehuattachmentsFieldSet.ehuinfoattachmentdocumentFieldSet.getSiblings()??> 
509		<@numElemsSeccion lista=ehuattachmentsFieldSet.ehuinfoattachmentdocumentFieldSet campo="ehuinfoattachmentdocument" /> 
510		<#assign numValidDocs = te_NumElems > 
511	</#if> 
512	 
513	<#assign numValidUrls = 0 > 
514	<#if ehuattachmentsFieldSet.ehuinfoattachmenturlFieldSet?? && ehuattachmentsFieldSet.ehuinfoattachmenturlFieldSet.getSiblings()??> 
515		<@numElemsSeccion lista=ehuattachmentsFieldSet.ehuinfoattachmenturlFieldSet campo="ehuinfoattachmenturl" /> 
516		<#assign numValidUrls = te_NumElems > 
517	</#if> 
518	 
519	<#if ( numValidDocs > 0 || numValidUrls > 0 ) > 
520		<div class="informacion-adicional__title"> 
521			<h2><@liferay.language key="ehu.informacionAdicional" /></h2> 
522        </div> 
523            
524		<#if ( numValidDocs > 0 ) > 
525			<@upvlibs.writeHtmlForDocumentsNew documents=ehuattachmentsFieldSet.ehuinfoattachmentdocumentFieldSet nivel=2 encabezado="ehu.document" campo="ehuinfoattachmentdocument" titulo="ehuinfoattachmentdocumenttitle" tipo=1 adicional=1 /> 
526 
527		</#if> 
528		<#if ( numValidUrls > 0 ) > 
529			<@upvlibs.writeHtmlForLinksNew links=ehuattachmentsFieldSet.ehuinfoattachmenturlFieldSet nivel=2 encabezado="ehu.link" campo="ehuinfoattachmenturl" titulo="ehuinfoattachmenturltitle" newTab="ehuinfoattachmenturlnewtab" tipo=1 adicional=1/> 
530			 
531		</#if> 
532	</#if> 
533 
534	<#-- LAST MODIFICATION DATE --> 
535	<#assign showDate = getterUtil.getBoolean( "false")> 
536	<#if entHeader.ehudateshow?? && entHeader.ehudateshow.getData()?? && entHeader.ehudateshow.getData()?has_content> 
537		<#assign showDate =  getterUtil.getBoolean( entHeader.ehudateshow.getData()?html)> 
538	</#if> 
539	 
540	<#if showDate > 
541		<div class="${ footerClass }"> 
542			 
543			<#assign articleModifiedDate = .vars['reserved-article-modified-date'].data!"" > 
544			<#if locale == "eu_ES"> 
545				<#assign dateFormat = "yyyy/MM/dd"> 
546			<#else> 
547			    <#assign dateFormat = "dd/MM/yyyy"> 
548			</#if> 
549			<#setting date_format=dateFormat > 
550			<#assign currentLocale = locale> 
551			<#setting locale = localeUtil.getDefault() > 
552			<#if articleModifiedDate?? && articleModifiedDate != "" > 
553				<#assign modifiedDate = ( articleModifiedDate?datetime( "EEE, dd MMM yyyy hh:mm:ss" ) )?date > 
554				<#assign modifiedDateStr = modifiedDate?string > 
555			<#else> 
556					<#assign modifiedDateStr = "" > 
557			</#if> 
558			<#setting locale = currentLocale> 
559			 
560			<#if modifiedDateStr != "" > 
561				<p class="modification_date"> 
562					<strong class="text"> <@liferay.language key="ehu.last-modification-date" />:</strong> 
563					<span class="date">${ modifiedDateStr }</span> 
564				</p> 
565			</#if> 
566		</div> 
567	</#if> 
568 
569</article> 
570<script> 
571 
572	if($("article.${randomNamespace} .information-detail__body .video-embed").length!=0){ 
573		var elementVideo=$('<div>').append($('article.${randomNamespace} .information-detail__body .video-embed')).html(); 
574        $("article.${randomNamespace} .video-embed").remove(); 
575        $("article.${randomNamespace}").prepend(elementVideo); 
576
577</script>