Publicador de contenidos
Info_Suscríbete
Talleres y Conferencias
Conferencias y talleres realizados
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> entRegistration.ehuregistrationlink [in template "10112#522485#1619238" at line 604, column 55] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- 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: #assign entRegistrationUrl = entRegis... [in template "10112#522485#1619238" at line 604, column 25] ----
1<#assign ddmTemplateLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMTemplateLocalService") >
2<#assign globalGroupId = themeDisplay.getCompanyGroupId() />
3<#assign lisTemplates = ddmTemplateLocalService.getTemplatesByGroupId(globalGroupId) >
4<#assign nombreTpl = "event-comun">
5<#list lisTemplates as template >
6 <#if validator.isNotNull(locale) >
7 <#assign templateName = template.getName(locale ) >
8 <#else>
9 <#assign templateName = template.getNameCurrentValue() >
10 </#if>
11 <#if templateName == nombreTpl >
12 <#assign templateKey = template.getTemplateKey() >
13 </#if>
14</#list>
15
16<#include "${templatesPath}/" + "${templateKey}" />
17
18<#-- GENERAL-->
19<#assign void = ''>
20<#assign cTxtAuthors = languageUtil.get( locale, "ehu.authors" ) >
21<#assign cTxtComInfo = languageUtil.get( locale, "ehu.communication-information" ) >
22<#assign cTxtComType = languageUtil.get( locale, "ehu.communication-type" ) >
23<#assign cTxtCycle = languageUtil.get( locale, "ehu.cycle" ) >
24<#assign cTxtDateFrom = languageUtil.get( locale, "ehu.From" ) >
25<#assign cTxtDateTo = languageUtil.get( locale, "ehu.To" ) >
26<#assign cTxtDescription = languageUtil.get( locale, "ehu.description" ) >
27<#assign cTxtInscription = languageUtil.get( locale, "ehu.registration" ) >
28<#assign cTxtMoreInfo = languageUtil.get( locale, "ehu.more-info" ) >
29<#assign cTxtPhoto = languageUtil.get( locale, "ehu.photo" ) >
30<#assign cTxtSpeaker = languageUtil.get( locale, "ehu.speaker" ) >
31<#assign cTxtTitle = languageUtil.get( locale, "ehu.title" ) >
32<#assign cTxtUrl = languageUtil.get( locale, "ehu.url" ) >
33<#assign cTxtNewWindow = languageUtil.get( locale, "opens-new-window" ) >
34<#assign scopeId = themeDisplay.scopeGroupId>
35<#assign isCampusa = (themeDisplay.getTheme().getContextPath() == "/o/upv-ehu-campusa-theme") >
36<#assign isGlobal = (themeDisplay.getTheme().getContextPath() == "/o/upv-ehu-global-theme") >
37<#assign journalLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
38
39<#if .vars['reserved-article-id']?has_content>
40 <#assign articleId = .vars['reserved-article-id'] >
41<#else>
42 <#assign articleId = "">
43</#if>
44
45
46<#if !isGlobal >
47 <#assign articleClass = "event" >
48 <#assign preTitleClass = "pretitle" >
49 <#assign titleClass = "event-title" >
50 <#assign datesClass = "event_date" >
51 <#assign cycleClass = "cycle" >
52 <#assign descriptionClass = "description" >
53 <#assign registrationClass = "registration" >
54 <#assign comunicationClass = "communication" >
55 <#assign addInfoClass = "additional-info" >
56<#else>
57 <#assign articleClass = "event-detail" >
58 <#assign preTitleClass = "event-detail__pretitle" >
59 <#assign titleClass = "event-detail__title" >
60 <#assign datesClass = "event-detail__featured-information__date" >
61 <#assign cycleClass = "event-detail__featured-information__cycle" >
62 <#assign descriptionClass = "event-detail__body__description" >
63 <#assign registrationClass = "event-detail__registration" >
64 <#assign comunicationClass = "event-detail__communication" >
65 <#assign addInfoClass = "event-detail__additional-info" >
66</#if>
67
68<#assign type = "" >
69<#assign entItem = entGeneralData.ehutype >
70<#if entItem?is_hash >
71 <#assign eventType = entItem.getData()?html >
72<#else>
73 <#assign eventType = getterUtil.getString( entItem ) >
74</#if>
75<#if eventType != "" >
76 <#if eventType != "upv-ehu-other" && eventType != "upv-ehu-blank" >
77 <#assign type = '<span class="type">' + languageUtil.get( locale, eventType ) + '</span>' >
78 </#if>
79</#if>
80
81<#assign scope = "" >
82<#if entGeneralData.upvehuscope?? >
83 <#assign entItem = entGeneralData.upvehuscope >
84</#if>
85<#if entItem?is_hash >
86 <#assign eventScope = entItem.getData()?html >
87<#else>
88 <#assign eventScope = getterUtil.getString( entItem ) >
89</#if>
90<#if eventScope != "" >
91 <#if eventScope != "upv-ehu-other" && eventScope != "upv-ehu-blank" >
92 <#assign scope = '<span class="scope">' + languageUtil.get( locale, eventScope ) + '</span>' >
93 </#if>
94</#if>
95
96<#if (type?? && type == "") || (scope?? && scope == "")>
97 <#assign nexo = "" >
98<#else>
99 <#assign nexo = " " >
100</#if>
101<#if locale == "en_GB">
102 <#assign typeAndScope = scope + nexo + type >
103<#else>
104 <#assign typeAndScope = type + nexo + scope >
105</#if>
106
107<#-- HTML-->
108<article class="${ articleClass }">
109 <#-- PRETITLE, TITLE y POSTTITLE -->
110 <header>
111 <#assign preTitle = "" >
112 <#-- Hasta nuevo aviso no se pinta el "Título de la comunicación"
113 <#if !isGlobal >
114 <#if hayComTitle >
115 <#assign preTitle = '<span class="communication">' + comTitle + '</span>' >
116 </#if>
117 <#else>
118 <#assign preTitle = typeAndScope >
119 </#if>
120 -->
121 <#assign preTitle = typeAndScope >
122
123 <#-- Se dejan todos los themes con pretitle y sin (typeAndScope) tras el título -->
124 <#if preTitle != "" >
125 <div class="${ preTitleClass }">${ preTitle }</div>
126 </#if>
127 <h1 class="${ titleClass }">
128 ${ title }
129 <#--
130 <#if !isGlobal >
131 <#if typeAndScope != "" >
132 <span class="posttitle">(${ typeAndScope })</span>
133 </#if>
134 </#if>
135 -->
136 </h1>
137 </header>
138
139 <#-- CAMPUSA VOCABULARY -->
140 <#if !isGlobal >
141 <#assign vocabularyName = "Campusa" >
142 <#assign tag_init = "<ul></ul>" >
143 <#assign categories = tag_init >
144 <@upvlibs.formatVocabularyCategoriesProperties vocabularyName=vocabularyName />
145 <#assign categories = upvlibs.categoriesListStr >
146 <#if categories != tag_init >
147 <div class="campusa-category">${ categories }</div>
148 </#if>
149 </#if>
150
151 <#if isGlobal >
152 <#-- clase para la informacion general -->
153 <div class="event-detail__featured-information">
154 </#if>
155
156 <#-- FECHAS Y LOCALIZACION -->
157 <#if !isGlobal >
158 <#-- clase y cabecera para la informacion sobre localizacion y fechas -->
159 <div class="date-location">
160 <h2><@liferay.language key="ehu.when-and-where" /></h2>
161 </#if>
162
163 <#-- FECHAS -->
164 <#-- clase para la informacion sobre fechas -->
165 <div class="${ datesClass }">
166
167 <#if isGlobal >
168 <#-- cabecera para la informacion sobre fechas -->
169 <h2 class="sr-only"><@liferay.language key="ehu.date" /></h2>
170 <i class="icon-calendar-empty"></i>
171 </#if>
172
173 <#assign txtDateFrom = "" >
174 <#if dateEnd?? && dateStart??>
175 <#assign daysBetween = dateUtil.getDaysBetween( dateStart, dateEnd ) >
176 <#if ( daysBetween > 0 ) >
177 <#assign txtDateFrom = cTxtDateFrom >
178 </#if>
179 <#else>
180 <#-- Si no hay fecha de fin pintamos igualmente el texto de "Desde: " ya que sí hay fecha de inicio -->
181 <#assign txtDateFrom = cTxtDateFrom >
182 </#if>
183
184 <#if txtDateFrom != "">
185 <#assign txtDateTo = cTxtDateTo >
186 <#else>
187 <#assign txtDateTo = "" >
188 </#if>
189
190 <#if txtDateFrom != "" >
191 <#if !isGlobal>
192 <#assign txtDateFrom = txtDateFrom + ": " >
193 <#else>
194 <#assign txtDateFrom = "<strong>" + txtDateFrom + "</strong>">
195 </#if>
196 </#if>
197 <#if txtDateTo != "" >
198 <#if !isGlobal>
199 <#assign txtDateTo = txtDateTo + ": " >
200 <#else>
201 <#assign txtDateTo = "<strong>" + txtDateTo + "</strong>">
202 </#if>
203
204 </#if>
205
206 <#-- informacion sobre fechas -->
207 <#if !isGlobal >
208 <#-- Una de las dos variables tiene que tener valor para no pintar un "p" vacío -->
209 <#if dateStartStr?? || dateEndStr?? >
210 <p>
211 <#-- Si hay fecha de inicio pero no de fin se pinta la fecha de inicio y la hora de fin. Tampoco se pinta el "Desde". -->
212 <#if dateStartStr?? && (!dateEndStr?? || dateEndStr == "") >
213 <span class="date">${ dateStartStr }</span>
214 <#if dateEndHourStr?? && dateEndMinStr?? >
215 <span class="date">- ${ dateEndHourStr }:${ dateEndMinStr }</span>
216 </#if>
217 </#if>
218
219 <#-- Si hay fecha de inicio y de fin se pintan -->
220 <#if dateStartStr?? && dateEndStr?? && dateEndStr != "" >
221 ${ txtDateFrom }<span class="date">${ dateStartReduced }</span>
222 <#-- Si hay hora de inicio hay que pintar una coma dentro de la fecha para que no meta un espacio en blanco por detrás -->
223 <#if dateStartHourStr?? && dateStartMinStr?? >
224 ${ txtDateTo }<span class="date">${ dateEndReduced + "," }</span>
225 <#else>
226 ${ txtDateTo }<span class="date">${ dateEndReduced }</span>
227 </#if>
228 <#-- Pintamos las horas -->
229 <#if dateStartHourStr?? && dateStartMinStr?? >
230 <span class="date"> ${ dateStartHourStr }:${ dateStartMinStr } </span>
231 </#if>
232 <#if dateStartHourStr?? && dateStartMinStr?? && dateEndHourStr?? && dateEndMinStr?? && dateEndHourStr != "" && dateEndMinStr != "">
233 <span class="date">- ${ dateEndHourStr }:${ dateEndMinStr }</span>
234 </#if>
235 </#if>
236 </p>
237 </#if>
238 <#else>
239 <#-- Cuando es Global-theme -->
240 <#-- Una de las dos variables tiene que tener valor para no pintar un "p" vacío -->
241 <#if dateStartStr?? || dateEndStr?? >
242 <p>
243
244 <#-- Si hay fecha de inicio pero no de fin se pinta la fecha de inicio y la hora de fin. Tampoco se pinta el "Desde". -->
245 <#if dateStartStr?? && (!dateEndStr?? || dateEndStr == "") >
246 <#-- Si hay hora de inicio hay que pintar una coma dentro de la fecha para que no meta un espacio en blanco por detrás -->
247 <#if dateStartHourStr?? && dateStartMinStr?? >
248 ${ dateStartReduced + "," }
249 <#else>
250 ${ dateStartReduced }
251 </#if>
252 <#if dateStartHourStr?? && dateStartMinStr?? >
253 ${ dateStartHourStr }:${ dateStartMinStr }
254 </#if>
255 <#if dateStartHourStr?? && dateStartMinStr?? && dateEndHourStr?? && dateEndMinStr?? >
256 - ${ dateEndHourStr }:${ dateEndMinStr }
257 </#if>
258 </#if>
259
260 <#-- Si hay fecha de inicio y de fin se pintan -->
261 <#if dateStartStr?? && dateEndStr?? && dateEndStr != "" >
262 <#-- Si hay fecha de inicio pero no de fin se pinta la fecha de inicio y la hora de fin. Tampoco se pinta el "Desde". -->
263 <#if dateStartHourStr?? && dateStartMinStr?? >
264 ${ txtDateFrom } ${ dateStartReduced } ${ txtDateTo } ${ dateEndReduced + ","}
265 <#else>
266 ${ txtDateFrom } ${ dateStartReduced } ${ txtDateTo } ${ dateEndReduced }
267 </#if>
268 <#if dateStartHourStr?? && dateStartMinStr?? >
269 ${ dateStartHourStr }:${ dateStartMinStr }
270 </#if>
271 <#if dateStartHourStr?? && dateStartMinStr?? && dateEndHourStr?? && dateEndMinStr?? && dateEndHourStr != "" && dateEndMinStr != "">
272 - ${ dateEndHourStr }:${ dateEndMinStr }
273 </#if>
274 </#if>
275 </p>
276 </#if>
277 </#if>
278 </div> <#-- cierra clase para la informacion sobre fechas -->
279
280
281
282 <#-- NUEVO EN EVENTO REDUCED -->
283 <#-- Horario -->
284 <#if entGeneralData.ehudayhours?? && validator.isNotNull (entGeneralData.ehudayhours) >
285 <#assign nexoHoraMin = ":" >
286 <#assign nexoRangoHoras = ", " >
287 <#assign cont = 1>
288 <#-- Lista de días -->
289 <#list entGeneralData.ehudayhours.getSiblings() as currentehudayhours >
290 <#assign ehuday = currentehudayhours.ehuday.getData()?html >
291 <#assign strehuDay = "ehu." + ehuday >
292 <#if strehuDay != "ehu.">
293 <#-- Lista de horas en un día determinado -->
294 <#if cont == 1 >
295 <div class="event-detail__featured-information__time">
296 <h2 class="sr-only"><@liferay.language key="ehu.horario" /></h2>
297 <i class="icon-time"></i>
298 <div class="event-detail__featured-information__time--list">
299 </#if>
300 <p><strong> <@liferay.language key="${strehuDay}" /> </strong>
301 <#assign firstHour = true >
302 <#if entGeneralData.ehudayhours.initendhour?? >
303 <#if entGeneralData.ehudayhours.initendhour.inithour.getData()?html?? && entGeneralData.ehudayhours.initendhour.inithour.getData()?html != "">
304 <strong>:</strong>
305 </#if>
306 <#assign count = 0 >
307 <#list currentehudayhours.initendhour.getSiblings() as currentinitendhour >
308
309 <#if ehuday != "" >
310 <#if currentinitendhour.inithour?? >
311 <#assign inithour = currentinitendhour.inithour.getData()?html >
312 </#if>
313 <#if currentinitendhour.endhour?? >
314 <#assign endhour = currentinitendhour.endhour.getData()?html >
315 </#if>
316 <#assign txtHoraIni = '' >
317 <#assign txtHoraFin = '' >
318
319 <#if inithour?has_content && inithour?? && inithour != "[\"\"]">
320 <#assign txtHoraIni = inithour?substring(0,2) + nexoHoraMin + inithour?substring(2,4) >
321 </#if>
322 <#-- Si hay varias horas hay que pintar una coma para cada hora menos la última sin dejar espacio -->
323 <#if endhour?has_content && endhour?? && endhour != "[\"\"]">
324 <#assign count = count + 1 >
325 <#if (currentehudayhours.initendhour.getSiblings()?size = 1)>
326 <#assign txtHoraFin = endhour?substring(0,2) + nexoHoraMin + endhour?substring(2,4) >
327 <#elseif (currentehudayhours.initendhour.getSiblings()?size > 1)>
328 <#if count = currentehudayhours.initendhour.getSiblings()?size >
329 <#assign txtHoraFin = endhour?substring(0,2) + nexoHoraMin + endhour?substring(2,4) >
330 <#else>
331 <#assign txtHoraFin = endhour?substring(0,2) + nexoHoraMin + endhour?substring(2,4) + "," >
332 </#if>
333 </#if>
334 </#if>
335 <#if firstHour>
336 <#assign firstHour = false >
337 </#if>
338 <#if txtHoraIni?has_content && txtHoraFin?has_content>
339 ${ txtHoraIni } - ${ txtHoraFin }
340 <#else>
341 <#if txtHoraIni?has_content>
342 ${ txtHoraIni }
343 </#if>
344 <#if txtHoraFin?has_content>
345 ${ txtHoraFin }
346 </#if>
347 </#if>
348 </#if>
349 </#list>
350 </#if>
351 </p>
352
353 <#assign cont = cont + 1>
354 </#if>
355 </#list>
356 <#if (cont > 1) >
357 </div>
358 </div>
359 </#if>
360 </#if>
361
362
363
364 <#-- LOCALIZACION -->
365 <#if localization != "" >
366 <#if isGlobal >
367 <#-- clase y cabecera para la informacion sobre localizacion -->
368 <div class="event-detail__featured-information__location">
369 <h2 class="sr-only"><@liferay.language key="ehu.location" /></h2>
370 <i class="icon-map-marker"></i>
371 </#if>
372 ${ localization }
373 <#if isGlobal >
374 </div> <#-- cierra clase para la informacion sobre localizacion -->
375 </#if>
376 </#if>
377 <#if !isGlobal >
378 </div> <#-- cierra clase para la informacion sobre localizacion y fechas -->
379 </#if>
380
381 <#-- CICLO -->
382 <#if entGeneralData.ehucycle?is_hash >
383 <#assign eventCycle = entGeneralData.ehucycle.getData()?html >
384 <#else>
385 <#assign eventCycle = getterUtil.getString( entGeneralData.ehucycle ) >
386 </#if>
387 <#if eventCycle != "" >
388 <div class="${ cycleClass }">
389 <#if !isGlobal >
390 <h2>${ cTxtCycle }</h2>
391 <#else>
392 <h2 class="sr-only">${ cTxtCycle }</h2>
393 <i class="icon-refresh"></i>
394 </#if>
395 <p>${ eventCycle }</p>
396 </div>
397 </#if>
398
399 <#-- RECEPTORES -->
400 <#if isGlobal >
401 <@upvlibs.VocabFormatCategories vocabularyName="Hartzaileak" show=false divClass="receivers" />
402 <#assign catString = upvlibs.catString >
403 <#if catString != "" >
404 <div class="event-detail__featured-information__receivers">
405 <h2 class="sr-only"><@liferay.language key="ehu.receivers" /></h2>
406 <i class="icon-user"></i>
407 ${ catString }
408 </div>
409 </#if>
410 <#else>
411 <@upvlibs.VocabFormatCategories vocabularyName="Hartzaileak" show=true divClass="receivers" />
412
413
414 </#if>
415
416 <#if isGlobal >
417 <#-- clase para la informacion general -->
418 </div> <#-- cierra clase para toda la informacion -->
419 </#if>
420
421 <#-- REDES SOCIALES -->
422 <#if isGlobal >
423 <#if ehugeneraldata.ehusocialbookmarks?? >
424 <#if entGeneralData.ehusocialbookmarks?is_hash >
425 <#assign redesSociales = entGeneralData.ehusocialbookmarks.getData()?html >
426 <#else>
427 <#assign redesSociales = getterUtil.getString( entGeneralData.ehusocialbookmarks ) >
428 </#if>
429 <#assign showRedesSociales = getterUtil.getBoolean(redesSociales, false ) >
430 <#assign classRS = "share-social-bar__item" >
431 <#if showRedesSociales >
432 <#assign urlEnCurso = themeDisplay.getURLPortal() + themeDisplay.getURLCurrent() >
433 <div class="event-detail__share">
434 <#-- SHARE SOCIAL BAR -->
435 <div class="share-social-bar">
436 <a href="https://www.facebook.com/share.php?u=${urlEnCurso?replace(' ','%20')}&t=www.ehu.eus" target="_blank" title="Facebook" class="${ classRS }">
437 <i class="icon-facebook"></i>
438 <span class="sr-only"><@liferay.language key="social-bookmark-facebook-ehu" /> - ${ cTxtNewWindow }</span>
439 </a>
440 <a href="https://twitter.com/intent/tweet?text=www.ehu.eus%20-%20${urlEnCurso?replace(' ','%20')}%20" target="_blank" title="Twitter" class="${ classRS }">
441 <i class="icon-twitter"></i>
442 <span class="sr-only"><@liferay.language key="social-bookmark-twitter-ehu" /> - ${ cTxtNewWindow }</span>
443 </a>
444 <a href="https://www.linkedin.com/shareArticle?mini=true&url=${urlEnCurso?replace(' ','%20')}&title=${title?replace(' ','%20')}&summary=" target="_blank" title="LinkedIn" class="${ classRS }">
445 <i class="icon-linkedin"></i>
446 <span class="sr-only"><@liferay.language key="social-bookmark-linkedin" /> - ${ cTxtNewWindow }</span>
447 </a>
448 <a href="whatsapp://send?text=${ urlEnCurso }" data-action="share/whatsapp/share" target="_blank" class="${ classRS } svg-icon" title="WhatsApp">
449 <svg><use xlink:href="${ themeDisplay.getPathThemeImages() }/icons/fontawesome-brands.svg#whatsapp" /></svg>
450 <span class="sr-only">WhatsApp - ${ cTxtNewWindow }</span>
451 </a>
452 <a href="mailto:?subject=${title?replace(' ','%20')}&body=%20-%20${urlEnCurso?replace(' ','%20')}" target="_blank" title="Email" class="${ classRS }">
453 <i class="icon-envelope"></i>
454 <span class="sr-only"><@liferay.language key="ehu.send-email" /> - ${ cTxtNewWindow }</span>
455 </a>
456 <a href="javascript:void(0)" onclick="window.print();" target="_blank" title='<@liferay.language key="ehu.print" />' class="${ classRS }">
457 <i class="icon-print"></i>
458 <span class="sr-only"><@liferay.language key="centros.accesibilidad.imprimir" /> - ${ cTxtNewWindow }</span>
459 </a>
460 </div>
461 </div>
462 </#if>
463 </#if>
464 </#if>
465
466 <#if isGlobal >
467 <div class="event-detail__body">
468 </#if>
469
470 <#-- IMAGE-->
471
472 <#assign entImage = entGeneralData.ehugeneraldataimage >
473 <#if entImage?is_hash >
474 <#assign imageSrc = entImage.getData()?html >
475 <#else>
476 <#assign imageSrc = getterUtil.getString( entImage ) >
477 </#if>
478 <#if imageSrc != "" >
479 <#if isGlobal >
480 <div class="event-detail__body__main-image">
481 </#if>
482
483 <#if entImage.ehuimagedescription?? >
484 <#if entImage.ehuimagedescription?is_hash >
485 <#assign imageAltTextStr = entImage.ehuimagedescription.getData()?html >
486 <#else>
487 <#assign imageAltTextStr = getterUtil.getString( entImage.ehuimagedescription ) >
488 </#if>
489 </#if>
490 <#if !imageAltTextStr?has_content && imageAltTextStr != "">
491 <#assign imageAltText = imageAltTextStr>
492 <#else>
493 <#assign imageAltText = languageUtil.get( locale, "image" )>
494 </#if>
495
496 <#if entImage.ehuimagefoot?? >
497 <#if entImage.ehuimagefoot?is_hash >
498 <#assign imageFootTextStr = entImage.ehuimagefoot.getData()?html >
499 <#else>
500 <#assign imageFootTextStr = getterUtil.getString( entImage.ehuimagefoot ) >
501 </#if>
502 </#if>
503 <#if imageFootTextStr?has_content && imageFootTextStr != "">
504 <#assign imageFootText = imageFootTextStr>
505 <#else>
506 <#assign imageFootText = "" >
507 </#if>
508
509 <#if entImage.ehuimageauthor?? >
510 <#if entImage.ehuimageauthor?is_hash >
511 <#assign imageAuthorTextStr = entImage.ehuimageauthor.getData()?html >
512 <#else>
513 <#assign imageAuthorTextStr = getterUtil.getString( entImage.ehuimageauthor ) >
514 </#if>
515 </#if>
516 <#if imageAuthorTextStr?has_content && imageAuthorTextStr != "">
517 <#assign imageAuthorText = imageAuthorTextStr>
518 <#else>
519 <#assign imageAuthorText = "" >
520 </#if>
521
522
523 <#assign imageAlign = "center" >
524 <#assign entImageUrl = "" >
525 <#assign imageUrlTitle = "" >
526 <#assign imageUrlNewTab = false >
527 <#assign imageClass = "img-main" >
528
529 <#-- Pasamos la imagen del evento directamente al og:image para que no haya problemas al compartir
530 el evento en redes sociales (Trello 273 - Trello 637) -->
531 <@liferay_util["html-top"]>
532 <meta property="og:image" content="${ portalUtil.getAbsoluteURL( request, imageSrc ) }">
533 </@>
534 <#if !isGlobal >
535 <@upvlibs.imageAuthorSection image=imageSrc altText=imageAltText footText=imageFootText imageAuthor=imageAuthorText
536 imageDisposition=imageAlign elemImageUrl=entImageUrl imageUrlTitle=imageUrlTitle imageUrlNewTab=imageUrlNewTab imgClass=imageClass />
537 <#else>
538 <img src="${ imageSrc }" alt="${ imageAltText }"/>
539 </#if>
540
541 <#if isGlobal >
542 <#if imageFootText != "" || imageAuthorText != "" >
543 <div class="main-image__footer">
544 <#if imageFootText == "">
545 <#assign txtPhoto = "" >
546 <#else>
547 <#assign txtPhoto = imageFootText >
548 </#if>
549 <#if imageAuthorText != "" >
550 <#if imageFootText == "">
551 <#assign txtPhotoAux = "" >
552 <#else>
553 <#assign txtPhotoAux = " | " >
554 </#if>
555 <#assign txtPhoto = txtPhoto + txtPhotoAux + cTxtPhoto + ": " + imageAuthorText >
556 </#if>
557 <#if txtPhoto != "" >
558 <p>${txtPhoto}</p>
559 </#if>
560 </div>
561 </#if>
562 </#if>
563 <#if isGlobal >
564 </div> <#-- class="event-detail__body__main-image" -->
565 </#if>
566 <#else>
567 <#-- Si el evento no tiene imagen metemos como imagen para redes sociales el logo de la universidad
568 proporcionado por la oficina de comunicación (Trello 565 - Trello 637) -->
569 <@liferay_util["html-top"]>
570 <meta property="og:image" content="https://www.ehu.eus/documents/522485/1339603/avatar.jpg">
571 </@>
572 </#if>
573
574
575 <#-- DESCRIPCION-->
576 <#assign description = "">
577 <#if entGeneralData.ehudescription??>
578 <#if entGeneralData.ehudescription?is_hash >
579 <#assign aux = entGeneralData.ehudescription.getData() >
580 <#else>
581 <#assign aux = getterUtil.getString( entGeneralData.ehudescription ) >
582 </#if>
583 <#if aux?has_content && aux != "">
584 <#assign description = aux>
585 <#else>
586 <#assign description = "">
587 </#if>
588 </#if>
589 <#if description != "" >
590 <div class="${ descriptionClass }">
591 <#if !isGlobal >
592 <h2 class="sr-only">${ cTxtDescription }</h2>
593 </#if>
594 ${ description }
595 </div>
596 </#if>
597 <#if isGlobal >
598 </div> <#-- class="event-detail__body" -->
599 </#if>
600
601 <#-- REGISTRO / INSCRIPCION -->
602 <#if ehuregistration?? >
603 <#assign entRegistration = ehuregistration >
604 <#assign entRegistrationUrl = entRegistration.ehuregistrationlink >
605 <#assign registrationUrl = "">
606 <#assign description = "">
607 <#assign registrationUrlTitle = "">
608 <#if entRegistrationUrl??>
609 <#if entRegistrationUrl?is_hash >
610 <#assign aux = entRegistrationUrl.getData()?html >
611 <#else>
612 <#assign aux = getterUtil.getString( entRegistrationUrl ) >
613 </#if>
614 <#if aux?has_content && aux != "">
615 <#assign registrationUrl = aux>
616 <#else>
617 <#assign registrationUrl = "">
618 </#if>
619 </#if>
620
621 <#if entGeneralData.ehudescription??>
622 <#if entGeneralData.ehudescription?is_hash >
623 <#assign aux = entGeneralData.ehudescription.getData()?html >
624 <#else>
625 <#assign aux = getterUtil.getString( entGeneralData.ehudescription ) >
626 </#if>
627 <#if aux?has_content && aux != "">
628 <#assign description = aux>
629 <#else>
630 <#assign description = "">
631 </#if>
632 </#if>
633 <#if entRegistrationUrl.ehuregistrationlinktitle??>
634 <#if entRegistrationUrl.ehuregistrationlinktitle?is_hash >
635 <#assign aux = entRegistrationUrl.ehuregistrationlinktitle.getData()?html >
636 <#else>
637 <#assign aux = getterUtil.getString( entRegistrationUrl.ehuregistrationlinktitle ) >
638 </#if>
639 <#if aux?has_content && aux != "">
640 <#assign registrationUrlTitle = aux>
641 <#else>
642 <#assign registrationUrlTitle = "">
643 </#if>
644 </#if>
645 <#if entRegistration.ehuregistrationdescription??>
646 <#if entRegistration.ehuregistrationdescription?is_hash >
647 <#assign aux = entRegistration.ehuregistrationdescription.getData()?html >
648 <#else>
649 <#assign aux = getterUtil.getString( entRegistration.ehuregistrationdescription ) >
650 </#if>
651 <#if aux?has_content && aux != "">
652 <#assign registrationDescr = aux>
653 <#else>
654 <#assign registrationDescr = "">
655 </#if>
656 </#if>
657
658 <#if (registrationUrl?has_content && registrationUrl != "") || registrationDescr != "" >
659 <#if !isGlobal >
660 <div class="registration">
661 <h2><@liferay.language key="ehu.registration"/></h2>
662
663 <#-- Descripción -->
664 <#if registrationDescr != "" >
665 <#assign regDescription = "<p>" + registrationDescr + "</p>" >
666 <#assign aux = cTxtDescription >
667 ${ regDescription }
668 </#if>
669
670 <#if registrationUrl?has_content && registrationUrl != "" >
671 <#-- URL -->
672 <#assign url = registrationUrl>
673 <#assign formatedURL = "" >
674 <#if url?is_hash >
675 <#assign aux = url.getData()?html >
676 <#else>
677 <#assign aux = getterUtil.getString(url) >
678 </#if>
679 <#if aux?has_content && aux != "">
680 <#assign formatedURL = aux>
681 </#if>
682
683 <#assign text = "" >
684 <#if entRegistrationUrl.ehuregistrationlinktitle?? >
685 <#if entRegistrationUrl.ehuregistrationlinktitle?is_hash>
686 <#assign text = entRegistrationUrl.ehuregistrationlinktitle.getData()?html >
687 <#else>
688 <#assign text = getterUtil.getString(entRegistrationUrl.ehuregistrationlinktitle) >
689 </#if>
690 </#if>
691
692 <#assign newTab = getterUtil.getBoolean( "false") >
693 <#if entRegistrationUrl.ehuregistrationlinknewtab?is_hash >
694 <#assign aux = entRegistrationUrl.ehuregistrationlinknewtab.getData()?html >
695 <#else>
696 <#assign aux = getterUtil.getString( entRegistrationUrl.ehuregistrationlinknewtab ) >
697 </#if>
698 <#if aux?has_content && aux != "">
699 <#assign newTab = getterUtil.getBoolean(aux) >
700 </#if>
701
702 <p>
703 <strong>${cTxtUrl}:</strong>
704
705 <#if newTab >
706 <#assign target = ' target="_blank"'>
707 <#else>
708 <#assign target = "">
709 </#if>
710
711 <a href="${ formatedURL }" class="bullet bullet-url"${ target }>
712
713 <#if newTab >
714 <span class="sr-only"><@liferay.language key="opens-new-window"/></span>
715 </#if>
716
717 <#if text == "">
718 ${formatedURL}
719 <#else>
720 ${text}
721 </#if>
722
723 <#if newTab >
724 <span class="icon-external-link"></span>
725 </#if>
726 </a>
727 </p>
728 </#if>
729
730 </div>
731
732 </#if> <#-- !isGlobal -->
733
734 <#-- Si es tema global -->
735 <#if isGlobal >
736 <div class="${ registrationClass }">
737 <h2>${ cTxtInscription }</h2>
738
739 <#-- Si no hay descripción y hay URL -->
740 <#if registrationDescr == "" && registrationUrl?has_content && registrationUrl != "">
741 <#assign aux = cTxtUrl >
742 <strong>${aux}:</strong>
743
744 <#if registrationUrlTitle != "">
745 <a href="${ registrationUrl }">${ registrationUrlTitle } <span class="icon-external-link"></span></a>
746 <#else>
747 <a href="${ registrationUrl }">${ registrationUrl } <span class="icon-external-link"></span></a>
748 </#if>
749
750 <#-- Si hay descripción y hay URL -->
751 <#elseif registrationDescr != "" && registrationUrl?has_content && registrationUrl != "">
752 <#assign regDescription = registrationDescr >
753 <p>
754 ${ regDescription }
755 </p>
756 <p>
757 <strong> ${ cTxtUrl }:</strong>
758 <#if registrationUrlTitle != "">
759 <a href="${ registrationUrl }">${ registrationUrlTitle } <span class="icon-external-link"></span></a>
760 <#else>
761 <a href="${ registrationUrl }">${ registrationUrl } <span class="icon-external-link"></span></a>
762 </#if>
763 </p>
764
765 <#-- Si hay descripción pero no hay URL -->
766 <#else>
767 <#assign regDescription = registrationDescr >
768 <p>
769 ${ regDescription }
770 </p>
771 </#if>
772 </div>
773 </#if> <#-- isGlobal -->
774
775 </#if> <#-- registrationUrl != "" -->
776 </#if><#-- ehuregistration?? -->
777
778 <#-- INFORMACION DE COMUNICACION -->
779
780 <#if ehucommunicationinformation?? >
781 <#assign entComInformation = ehucommunicationinformation >
782 <#if entComInformation.ehucommunicationauthors??>
783 <#if entComInformation.ehucommunicationauthors?is_hash >
784 <#assign aux = entComInformation.ehucommunicationauthors.getData()?html >
785 <#else>
786 <#assign aux = getterUtil.getString( entComInformation.ehucommunicationauthors ) >
787 </#if>
788 <#if aux?has_content && aux != "">
789 <#assign comunicationAuthors = aux>
790 <#else>
791 <#assign comunicationAuthors = "">
792 </#if>
793 </#if>
794 <#if entComInformation.ehuspeakers??>
795 <#if entComInformation.ehuspeakers?is_hash >
796 <#assign aux = entComInformation.ehuspeakers.getData()?html >
797 <#else>
798 <#assign aux = getterUtil.getString( entComInformation.ehuspeakers ) >
799 </#if>
800 <#if aux?has_content && aux != "">
801 <#assign comunicationSpeakers = aux>
802 <#else>
803 <#assign comunicationSpeakers = "">
804 </#if>
805 </#if>
806 <#if entComInformation.upvehucommunicationtype??>
807 <#if entComInformation.upvehucommunicationtype?is_hash >
808 <#assign aux = entComInformation.upvehucommunicationtype.getData()?html >
809 <#else>
810 <#assign aux = getterUtil.getString( entComInformation.upvehucommunicationtype ) >
811 </#if>
812 <#if aux?has_content && aux != "">
813 <#assign comunicationType = aux>
814 <#else>
815 <#assign comunicationType = "">
816 </#if>
817 </#if>
818 <#if comunicationAuthors?? && (comunicationAuthors != "")>
819 <#assign hayComAuthors = getterUtil.getBoolean("true" ) >
820 <#else>
821 <#assign hayComAuthors = getterUtil.getBoolean("false" ) >
822 </#if>
823 <#if comunicationSpeakers?? && (comunicationSpeakers != "") >
824 <#assign hayComSpeakers = getterUtil.getBoolean("true" ) >
825 <#else>
826 <#assign hayComSpeakers = getterUtil.getBoolean("false" ) >
827 </#if>
828 <#if comunicationType?? && (comunicationType != "") && comunicationType != "upv-ehu-blank" >
829 <#assign hayComType = getterUtil.getBoolean("true" )>
830 <#else>
831 <#assign hayComType = getterUtil.getBoolean("false" ) >
832 </#if>
833
834 <#if hayComTitle?? || hayComAuthors?? || hayComSpeakers?? || hayComType??>
835 <#assign hayCom = hayComTitle || hayComAuthors || hayComSpeakers || hayComType >
836 <#if hayCom >
837 <div class="${ comunicationClass }">
838 <h2>${ cTxtComInfo }</h2>
839 <ul>
840 <#if hayComTitle>
841 <@upvlibs.writeHtmlForGeneralEvento tipo=0 entInfoElem=entComInformation.ehucommunicationtitle
842 cabDefecto=cTxtTitle/>
843 </#if>
844 <#if hayComAuthors>
845 <@upvlibs.writeHtmlForGeneralEvento tipo=0 entInfoElem=entComInformation.ehucommunicationauthors
846 cabDefecto=cTxtAuthors/>
847 </#if>
848 <#if hayComSpeakers >
849 <@upvlibs.writeHtmlForGeneralEvento tipo=0 entInfoElem=entComInformation.ehuspeakers
850 cabDefecto=cTxtSpeaker/>
851 </#if>
852 <#if hayComType >
853 <li>
854 <strong>${cTxtComType}:</strong>
855 <@liferay.language key="${ comunicationType }" />
856 </li>
857 </#if>
858 </ul>
859 </div>
860 </#if>
861 </#if>
862 </#if>
863
864 <#if !isGlobal >
865 <@contactInfo 2/>
866 <@aditionalInfo />
867 <#if ehuimagegallery?? >
868 <#if ehuimagegallery.ehuslide??>
869 <@upvlibs.imageGallerySection ehuimagegallery.ehuslide articleId true 4 />
870 </#if>
871 </#if>
872 <#else>
873 <#if ehuimagegallery?? >
874 <#if ehuimagegallery.ehuslide?? && ehuimagegallery.ehuslide?has_content && ehuimagegallery.ehuslide.ehuimagegalleryimage.getData()?html !="" >
875 <div class="event-detail__image-gallery">
876 <@upvlibs.imageGallerySection ehuimagegallery.ehuslide articleId false 4 />
877 </div>
878 </#if>
879 </#if>
880 <@aditionalInfo />
881 <#if checkH3??>
882 <@contactInfo 3/>
883 <#else>
884 <@contactInfo 2/>
885 </#if>
886
887 </#if>
888
889
890 <#-- LAST MODIFICATION DATE-->
891 <#assign showLastModifDate = getterUtil.getBoolean( "false")>
892 <#if entGeneralData.ehulastmodificationdate??>
893 <#if entGeneralData.ehulastmodificationdate?is_hash >
894 <#assign aux = entGeneralData.ehulastmodificationdate.getData()?html >
895 <#else>
896 <#assign aux = getterUtil.getString( entGeneralData.ehulastmodificationdate ) >
897 </#if>
898 <#if aux?has_content && aux != "">
899 <#assign showLastModifDate = getterUtil.getBoolean(aux) >
900 </#if>
901
902 </#if>
903 <#if showLastModifDate >
904 <div class="content-footer">
905 <#assign articleModifiedDate = .vars['reserved-article-modified-date'].data!"" >
906 <#if locale == "eu_ES">
907 <#assign dateFormat = "yyyy/MM/dd">
908 <#else>
909 <#assign dateFormat = "dd/MM/yyyy">
910 </#if>
911 <#setting date_format=dateFormat >
912 <#assign currentLocale = locale>
913 <#setting locale = localeUtil.getDefault() >
914 <#if articleModifiedDate?? && articleModifiedDate != "" >
915 <#assign modifiedDate = ( articleModifiedDate?datetime( "EEE, dd MMM yyyy hh:mm:ss" ) )?date >
916 <#assign modifiedDateStr = modifiedDate?string >
917 <#else>
918 <#assign modifiedDateStr = "" >
919 </#if>
920 <#setting locale = currentLocale>
921
922 <#if modifiedDateStr != "" >
923 <p class="modification_date">
924 <strong class="text"> <@liferay.language key="ehu.last-modification-date" />:</strong>
925 <span class="date">${ modifiedDateStr }</span>
926 </p>
927 </#if>
928 </div>
929 </#if>
930
931 <#-- CAMPUSA-->
932 <#if isCampusa >
933 <h2 class="social"><@liferay.language key="sharing" /></h2>
934 </#if>
935
936
937</article>
938
939<#--
940 # ------------------------------------------------------------------------------
941 # A partir de la informacion recibida en el parametro "slides" genera el codigo
942 # para visualizar dicha informacion como una galeria de imagenes.
943 # Mas informacion en la macro "imageGallerySection".
944 # Parametros:
945 # ident identificador para personalizar el codigo que se genera
946 # slides estructura con la informacion para la galeria de imagenes
947 # [__showFoot] indica si se quiere mostrar el pie de las imagenes o no
948 # [__elemsRow] indica el numero de imagenes a mostrar por linea
949 # Salida:
950 # ------------------------------------------------------------------------------
951-->
952<#--
953 # ------------------------------------------------------------------------------
954 # Genera el codigo html para la informacion adicional presente en el contenido
955 # de tipo "Evento".
956 # La generacion de codigo es diferente si el tema es el global o no.
957 # Parametros:
958 # Salida:
959 # ------------------------------------------------------------------------------
960-->
961<#macro aditionalInfo >
962 <#local esGlobal = (themeDisplay.getTheme().getContextPath() == "/o/upv-ehu-global-theme") >
963 <#local entAditionalInfo = ehuaditionalinfo >
964 <#if entAditionalInfo.ehuaditionaldescription?? >
965 <#if entAditionalInfo.ehuaditionaldescription?is_hash >
966 <#assign aux = entAditionalInfo.ehuaditionaldescription.getData()?html >
967 <#else>
968 <#assign aux = getterUtil.getString( entAditionalInfo.ehuaditionaldescription ) >
969 </#if>
970 </#if>
971 <#if aux?has_content && aux != "">
972 <#local aditionalDesc = aux>
973 <#else>
974 <#local aditionalDesc = "">
975 </#if>
976 <#local hayAditionalDesc = aditionalDesc != "" >
977
978 <#local entAditionalDocs = entAditionalInfo.ehudocument >
979 <#assign hayAditionalDocs = getterUtil.getBoolean("false")>
980 <#if entAditionalDocs??>
981 <#local hayAditionalDocs = upvlibs.hasElement(entAditionalDocs) >
982 </#if>
983 <#assign hayAditionalLinks=false />
984
985 <#if entAditionalInfo?? >
986 <#if entAditionalInfo.ehuaditionalinfourl?? >
987 <#local entAditionalLinks = entAditionalInfo.ehuaditionalinfourl >
988 <#assign hayAditionalLinks = getterUtil.getBoolean("false")>
989 <#local hayAditionalLinks = upvlibs.hasElement(entAditionalLinks) >
990 </#if>
991 </#if>
992
993 <#assign checkH3=false />
994
995 <#local hayAditionalInfo = hayAditionalDesc || hayAditionalDocs || hayAditionalLinks >
996 <#if hayAditionalInfo >
997 <#if !esGlobal || hayAditionalDesc >
998 <div class="${ addInfoClass }">
999 <h2>${ cTxtMoreInfo }</h2>
1000 <#if cTxtMoreInfo?has_content>
1001 <#assign checkH3=true />
1002 </#if>
1003
1004 <#if hayAditionalDesc >
1005 <p> ${aditionalDesc} </p>
1006 </#if>
1007 <#if esGlobal >
1008 </div>
1009 </#if>
1010 </#if>
1011 <#if hayAditionalDocs>
1012 <#if esGlobal >
1013 <div class="event-detail__documents">
1014 </#if>
1015 <#if checkH3>
1016 <#assign macroHack>
1017 <@upvlibs.writeHtmlForDocs entradaInfo=entAditionalDocs nomEntradaTit="ehudocumentname" nomEntradaVal="" nivelHIni=3 />
1018 </#assign>
1019 <#else>
1020 <#assign macroHack>
1021 <@upvlibs.writeHtmlForDocs entradaInfo=entAditionalDocs nomEntradaTit="ehudocumentname" nomEntradaVal="" nivelHIni=2 />
1022 </#assign>
1023 </#if>
1024
1025 ${macroHack}
1026 <#if esGlobal >
1027 </div>
1028 </#if>
1029 </#if>
1030
1031 <#if hayAditionalLinks>
1032 <#if esGlobal >
1033 <div class="event-detail__links">
1034 </#if>
1035 <#if checkH3>
1036 <#if !esGlobal >
1037 <#assign auxentLangTitSing = "null" >
1038 <#else>
1039 <#assign auxentLangTitSing = "ehu.url">
1040 </#if>
1041 <@upvlibs.writeHtmlForLinks entradaInfo=entAditionalLinks nomEntradaTit="ehuaditionalinfourldescription" nomEntradaVal=""
1042 nivelHIni=3 nomEntrNewTab="ehuaditionalinfourlnewtab" newTab=true />
1043 <#else>
1044 <#-- Si hay descripción de la URL se mete y si no se pinta la URL directamente -->
1045 <#assign urldescription = "">
1046 <#if entAditionalInfo?? >
1047 <#if entAditionalInfo.ehuaditionalinfourl?? >
1048 <#if entAditionalInfo.ehuaditionalinfourl.ehuaditionalinfourldescription?? >
1049 <#assign urldescription = entAditionalInfo.ehuaditionalinfourl.ehuaditionalinfourldescription.getData()?html >
1050 </#if>
1051 </#if>
1052 </#if>
1053
1054 <#if urldescription != "" >
1055 <#if !esGlobal >
1056 <#assign auxentLangTitSing = "null" >
1057 <#else>
1058 <#assign auxentLangTitSing = "ehu.url">
1059 </#if>
1060 <@upvlibs.writeHtmlForLinks entradaInfo=entAditionalLinks nomEntradaTit="ehuaditionalinfourldescription" nomEntradaVal=""
1061 nivelHIni=2 nomEntrNewTab="ehuaditionalinfourlnewtab" newTab=true/>
1062 <#else>
1063 <#if !esGlobal >
1064 <#assign auxentLangTitSing = "null" >
1065 <#else>
1066 <#assign auxentLangTitSing = "ehu.url">
1067 </#if>
1068 <@upvlibs.writeHtmlForLinks entradaInfo=entAditionalLinks nomEntradaTit="ehuaditionalinfourl" nomEntradaVal=""
1069 nivelHIni=2 nomEntrNewTab="ehuaditionalinfourlnewtab" newTab=true />
1070 </#if>
1071 </#if>
1072 <#if esGlobal >
1073 </div>
1074 </#if>
1075 </#if>
1076
1077 </#if>
1078</#macro>
1079
1080
1081<#--
1082 # ------------------------------------------------------------------------------
1083 # Genera el codigo html para la informacion de contacto presente en el contenido
1084 # de tipo "Evento".
1085 # La generacion de codigo es diferente si el tema es el global o no.
1086 # Parametros:
1087 # Salida:
1088 # ------------------------------------------------------------------------------
1089-->
1090<#macro contactInfo type>
1091 <#local esGlobal = (themeDisplay.getTheme().getContextPath() == "/o/upv-ehu-global-theme") >
1092 <#if !esGlobal >
1093 <#local contactClass = "contact" >
1094 <#local cTxtContacto = languageUtil.get( locale, "ehu.contact-data" ) >
1095 <#else>
1096 <#local contactClass = "event-detail__contact" >
1097 <#local cTxtContacto = languageUtil.get( locale, "ehu.contacto" ) >
1098 </#if>
1099
1100 <#local entContact = ehucontactdata >
1101 <#local entContactResponsible = entContact.ehuresponsible >
1102 <#local entContactDept = entContact.ehudepartmentservice >
1103 <#local entContactEmail = entContact.ehucontactemail >
1104 <#local entContactPhone = entContact.ehucontactphone >
1105 <#local entContactUrl = entContact.ehucontactdataurl >
1106
1107 <#local hayContactResponsible = getterUtil.getBoolean("false")>
1108 <#if entContactResponsible??>
1109 <#local hayContactResponsible = upvlibs.hasElement(entContactResponsible) >
1110 </#if>
1111 <#local hayContactDept = getterUtil.getBoolean("false")>
1112 <#if entContactDept??>
1113 <#local hayContactDept = upvlibs.hasElement(entContactDept) >
1114 </#if>
1115 <#local hayContactEmail = getterUtil.getBoolean("false")>
1116 <#if entContactEmail??>
1117 <#local hayContactEmail = upvlibs.hasElement(entContactEmail) >
1118 </#if>
1119 <#local hayContactPhone = getterUtil.getBoolean("false")>
1120 <#if entContactPhone??>
1121 <#local hayContactPhone = upvlibs.hasElement(entContactPhone) >
1122 </#if>
1123 <#local hayContactUrl = getterUtil.getBoolean("false")>
1124 <#if entContactUrl??>
1125 <#local hayContactUrl = upvlibs.hasElement(entContactUrl) >
1126 </#if>
1127 <#local hayContact = hayContactResponsible || hayContactDept || hayContactEmail || hayContactPhone || hayContactUrl >
1128 <#if hayContact >
1129 <div class="${ contactClass }">
1130 <#if type?? && type==3>
1131 <h3>${ cTxtContacto }</h3>
1132 <#else>
1133 <h2>${ cTxtContacto }</h2>
1134 </#if>
1135
1136 <ul>
1137 <#if hayContactResponsible>
1138 <@upvlibs.writeHtmlForGeneralEvento tipo=0 entInfoElem=entContactResponsible
1139 cabDefecto=languageUtil.get( locale, "ehu.responsible" ) />
1140 <#local contactTitle = languageUtil.get(locale, "ehu.departamento" ) + " - " + languageUtil.get( locale, "service" ) >
1141 </#if>
1142 <#if hayContactDept>
1143 <#assign defecto = languageUtil.get(locale, "ehu.departamento" ) + " - " + languageUtil.get( locale, "service" )>
1144 <@upvlibs.writeHtmlForGeneralEvento tipo=0 entInfoElem=entContactDept
1145 cabDefecto=defecto />
1146 </#if>
1147 <#if hayContactEmail>
1148 <@upvlibs.writeHtmlForGeneralEvento tipo=4 entInfoElem=entContactEmail
1149 cabDefecto=languageUtil.get( locale, "ehu.email" ) />
1150 </#if>
1151 <#if hayContactPhone>
1152 <@upvlibs.writeHtmlForGeneralEvento tipo=5 entInfoElem=entContactPhone
1153 cabDefecto=languageUtil.get( locale, "ehu.phone" ) />
1154 </#if>
1155
1156
1157 <@upvlibs.writeHtmlForWebPage entWebPage=entContactUrl cab=languageUtil.get( locale, "ehu.web-page" ) nomEntradaTxt="ehucontactdataurldescripction"
1158 nomEntradaVal="" nomEntrNewTab="ehucontactdataurlnewtab" newTab=false />
1159 </ul>
1160 </div>
1161 </#if>
1162</#macro>