De la aldea a la Villa - mancomunidad-valle-del-nalon
Estas en:
- mancomunidad-valle-del-nalon
- Turismo
- Publicaciones y Descargas
- Audioguías
- De la aldea a la Villa
Back De la aldea a la Villa
An error occurred while processing the template.
The following has evaluated to null or missing: ==> municipio [in template "10114#2295845#3535046" at line 13, column 22] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #if municipio.getData()?? [in template "10114#2295845#3535046" at line 13, column 17] ----
1<#assign title = .vars['reserved-article-title'].data/>
2<#assign image = .vars['reserved-article-small-image-url'].data/>
3<#assign articleId = .vars['reserved-article-id'].data/>
4<div class="media">
5
6 <#if image??>
7 <a class="pull-left" href="#">
8 <img class="media-object img-polaroid" src ="${htmlUtil.escape(image)}" alt=<@liferay.language key='image'/>
9 </a>
10 </#if>
11 <div class="media-body">
12 <h3>${title}</h3>
13 <#if municipio.getData()??>
14 <h4>${municipio.getData()}</h4>
15 </#if>
16
17 <div class="media">
18
19 <#if audio.getData()??>
20 <div class="audio-wrapper${articleId}">
21 <div class="data">
22
23 <a class="link${articleId}" href="${audio.data}">
24 Reproducir <@liferay.language key='audio'/> ${title}
25 </a>
26
27 <div class="audio${articleId}" style="max-width: 80%";>
28 <!-- audio container -->
29 </div>
30 <span class="icon-volume-up"> <!-- icon --></span>
31 <a class="download" href="${audio.data}">
32 <@liferay.language key='download'/> ${title} (mp3)
33 </a>
34 </div>
35 </div>
36 </#if>
37 <#if pdf.getData()??>
38 <div class="documento">
39 <span class="icon-file-text"> <!-- icon --></span>
40 <a class="download" href="${pdf.data}">
41 <@liferay.language key='download'/> ${title} (pdf)
42 </a>
43 </div>
44 </#if>
45
46 </div>
47 </div>
48
49</div>
50<div class="separator"> <!-- SEPARATOR --></div>
51<script typt="text/javascript">
52 AUI().use('aui-audio',
53 function(A) {
54 var audio = A.one('.audio-wrapper${articleId}');
55 if(audio){
56 var audioWrapper = A.one('.audio${articleId}');
57 var nodeLink = A.one('.link${articleId}');
58
59 nodeLink.hide();
60 if(!audioWrapper.hasClass('loaded')){
61 audioWrapper.addClass('loaded');
62 var link = nodeLink.getAttribute('href');
63 new A.Audio(
64 {
65 boundingBox: audioWrapper,
66 url: link
67
68 }
69 ).render();
70 }
71 }
72 }
73 );
74
75</script>