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