a Conocimiento - Asturias en cifras - Demografia
Se ha producido un error al procesar la plantilla.
For "." left-hand operand: Expected a hash, but this has evaluated to a method+sequence (wrapper: f.e.b.SimpleMethodModel):
==> cur_historico.size  [in template "20116#20160#57476" at line 207, column 44]

----
Tip: Maybe using obj.something() instead of obj.something will yield the desired value
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if cur_historico.size?? && cur_histo...  [in template "20116#20160#57476" at line 207, column 15]
----
1<div class="generica"> 
2   
3  <#if enlace?? && enlace.getData() !="" || documentoAsociado?? && documentoAsociado.getData() !="" || videoAsociado?? && videoAsociado.getData() !="" || historico?? && historico.getData() !=""> 
4    <div class="content-anchor">   
5      <#if enlace?? && enlace.getData() !=""> 
6        <span class="links-anchor anchor"> 
7          <a href="#links"> 
8            <#if tituloEnlaces?? && tituloEnlaces.getData() !=""> 
9              <img src="/o/idepa-theme-1.0.0/images/iconos/links.png" alt="" />   
10              <span>${tituloEnlaces.getData()}</span> 
11            <#else> 
12              <img src="/o/idepa-theme-1.0.0/images/iconos/links.png" alt="" />   
13              <span>Enlaces de interés</span> 
14            </#if> 
15          </a> 
16        </span>  
17      </#if> 
18 
19      <#if documentoAsociado?? && documentoAsociado.getData() !=""> 
20        <#if documentoAsociado.getSiblings()?has_content> 
21          <#if documentoAsociado.documento?? && documentoAsociado.documento.getData() != ""> 
22            <span class="documents-anchor anchor"> 
23              <a href="#documents"> 
24                <#if tituloDocumentos?? && tituloDocumentos.getData() !=""> 
25                  <img src="/o/idepa-theme-1.0.0/images/iconos/documentos.png" alt="" />  
26                  <span>${tituloDocumentos.getData()}</span> 
27                <#else> 
28                  <img src="/o/idepa-theme-1.0.0/images/iconos/documentos.png" alt="" />  
29                  <span>Documentos asociados</span> 
30                </#if> 
31              </a>  
32            </span> 
33          </#if> 
34        </#if> 
35      </#if> 
36 
37 
38      <#if videoAsociado?? && videoAsociado.getData() !=""> 
39       <#if videoAsociado.getSiblings()?has_content>   
40          <#if videoAsociado.urlVideo?? && videoAsociado.urlVideo.getData() != ""> 
41            <span class="video-anchor anchor"> 
42              <a href="#videos"> 
43                <#if tituloVideos?? && tituloVideos.getData() !=""> 
44                  <img src="/o/idepa-theme-1.0.0/images/iconos/documentos.png" alt="" />   
45                  <span>${tituloVideos.getData()}</span> 
46                <#else> 
47                  <img src="/o/idepa-theme-1.0.0/images/iconos/documentos.png" alt="" />  
48                  <span>Vídeos asociados</span> 
49                </#if> 
50              </a> 
51            </span>  
52          </#if> 
53        </#if> 
54      </#if> 
55 
56      <#if historico?? && historico.getData() !=""> 
57        <#if historico.getSiblings()?has_content> 
58          <#if historico.urlHistorico?? && historico.urlHistorico.getData() != ""> 
59            <span class="historical-anchor anchor"> 
60                <a href="#historicos"> 
61                  <#if tituloHistoricos?? && tituloHistoricos.getData() !=""> 
62                    <img src="/o/idepa-theme-1.0.0/images/iconos/historicos.png" alt="" />  
63                    <span>${tituloHistoricos.getData()}</span> 
64                  <#else> 
65                    <img src="/o/idepa-theme-1.0.0/images/iconos/historicos.png" alt="" />  
66                    <span>Históricos asociados</span> 
67                  </#if> 
68                </a> 
69              </span>  
70            </#if> 
71        </#if> 
72      </#if> 
73    </div> 
74  </#if>   
75  <div class="content"> 
76 
77    <#if titulo?? && titulo.getData() !=""> 
78        <h2> 
79            ${titulo.getData()} 
80            <#if fecha?? && fecha.getData() !=""> 
81                <span class="small">${fecha.getData()}</span> 
82            </#if> 
83        </h2> 
84    </#if> 
85 
86    <#if contenido?? && contenido.getData() !=""> 
87        <div class="webContent"> 
88            ${contenido.getData()} 
89        </div> 
90    </#if> 
91 
92    <#if enlace?? && enlace.getData() !="" || documentoAsociado?? && documentoAsociado.getData() !="" || videoAsociado?? && videoAsociado.getData() !=""> 
93      <div class="related-information"> 
94        <#assign contadorTitulo  = 0 > 
95 
96         <#if enlace?? && enlace.getData() !=""> 
97            <#if enlace.getSiblings()?has_content> 
98              <#assign contador  = 0 > 
99              <#list enlace.getSiblings() as cur_enlace> 
100 
101                <#if contador == 0> 
102                  <div class="links" id="links"> 
103                    <#if tituloEnlaces?? && tituloEnlaces.getData() !=""> 
104                      <h2>${tituloEnlaces.getData()}</h2> 
105                    </#if> 
106                    <ul> 
107                    <#assign contador  = contador+1 > 
108                    <#assign contadorTitulo  = contadorTitulo+1 > 
109                </#if> 
110				 
111                <li> 
112                  <#if cur_enlace?? && cur_enlace.getData() != "" && cur_enlace.get('url').getData() != "" > 
113                    <a href="${cur_enlace.get('url').getData()}" target="_blank">${cur_enlace.getData()}</a> 
114                  <#else> 
115                    <span>${cur_enlace.getData()}</span> 
116                  </#if> 
117                  <#if cur_enlace.info?? && cur_enlace.info.getData()!=""> 
118                      <p class="info">${cur_enlace.info.getData()}</p> 
119                  </#if> 
120                </li> 
121                     
122              </#list> 
123              <#if contador != 0>  
124                </ul> 
125                </div> 
126              </#if>          
127            </#if> 
128        </#if> 
129 
130        <#if documentoAsociado?? && documentoAsociado.getData()!=""> 
131          <#if documentoAsociado.getSiblings()?has_content> 
132            <#assign contadorDoc  = 0 > 
133            <#assign reversed = documentoAsociado.getSiblings()?reverse/> 
134            <#list reversed as cur_documentoAsociado> 
135              <#if cur_documentoAsociado.documento?? && documentoAsociado?? && cur_documentoAsociado.documento.getData() != "" && cur_documentoAsociado.getData() != "" > 
136                <#if contadorDoc == 0> 
137                    <div class="documents" id="documents"> 
138                      <#if tituloDocumentos?? && tituloDocumentos.getData()!=""> 
139                        <h2>${tituloDocumentos.getData()}</h2> 
140                      </#if> 
141                      <ul> 
142                    <#assign contadorDoc  = contadorDoc+1 > 
143                    <#assign contadorTitulo  = contadorTitulo+1 > 
144                </#if> 
145                <li> 
146                <a href="${cur_documentoAsociado.documento.getData()}" target="_blank">${cur_documentoAsociado.getData()}</a> 
147                    <#if cur_documentoAsociado.infoDoc?? && cur_documentoAsociado.getData()!=""> 
148                        <p class="info">${cur_documentoAsociado.infoDoc.getData()}</p> 
149                    </#if> 
150                </li> 
151                 
152              </#if> 
153            </#list> 
154            <#if contadorDoc != 0>  
155              </ul> 
156              </div> 
157            </#if>          
158          </#if> 
159        </#if> 
160 
161        <#if videoAsociado?? && videoAsociado.getData()!=""> 
162          <#if videoAsociado.getSiblings()?has_content> 
163            <#assign contadorVideo  = 0 > 
164              <#list videoAsociado.getSiblings() as cur_videoAsociado> 
165                <#if cur_videoAsociado.urlVideo?? && videoAsociado?? && cur_videoAsociado.urlVideo.getData() != "" && cur_videoAsociado.getData() != "" > 
166                  <#if contadorVideo == 0> 
167                    <div class="videos" id="videos"> 
168                      <#if tituloVideos?? && tituloVideos.getData()!=""> 
169                        <h2>${tituloVideos.getData()}</h2> 
170                      </#if> 
171                      <ul> 
172                    <#assign contadorVideo  = contadorVideo+1 > 
173                    <#assign contadorTitulo  = contadorTitulo+1 > 
174                  </#if> 
175                  <li> 
176                    <a href="${cur_videoAsociado.urlVideo.getData()}" target="_blank">${cur_videoAsociado.getData()}</a> 
177                      <#if cur_videoAsociado.infoVideo?? && cur_videoAsociado.infoVideo.getData()!=""> 
178                          <p class="info">${cur_videoAsociado.infoVideo.getData()}</p> 
179                      </#if> 
180                  </li>            
181                   
182                </#if> 
183              </#list> 
184            <#if contadorVideo != 0>  
185              </ul> 
186              </div> 
187            </#if>          
188          </#if> 
189        </#if> 
190      </div> 
191    </#if> 
192    <#if historico?? && historico.getData()!=""> 
193      <#if historico.getSiblings()?has_content> 
194        <#assign contadorHistorico  = 0 > 
195        <#list historico.getSiblings() as cur_historico> 
196          <#if cur_historico.urlHistorico?? && historico?? && cur_historico.urlHistorico.getData() != "" && cur_historico.getData() != "" > 
197            <#if contadorHistorico == 0>  
198              <div class="historical" id="historicos"> 
199                <#if tituloHistoricos?? && tituloHistoricos.getData()!=""> 
200                  <h2>${tituloHistoricos.getData()}</h2> 
201                </#if> 
202                <ul> 
203              <#assign contadorHistorico  = contadorHistorico+1 > 
204              <#--<#assign contadorTitulo  = contadorTitulo+1 >--> 
205            </#if> 
206              <#assign cssClass  = ""> 
207              <#if cur_historico.size?? && cur_historico.size.getData() !=""> 
208                <#if cur_historico.size.getData() == "medium"> 
209                   <#assign cssClass = "col-sm-6"> 
210                <#elseif cur_historico.size.getData() == "small"> 
211                   <#assign cssClass = "col-sm-3"> 
212                <#elseif cur_historico.size.getData() == "big"> 
213                   <#assign cssClass = "col-sm-12 cols-xs-12"> 
214                </#if>                   
215              <#else>           
216                 <#assign cssClass = "col-sm-3">                       
217              </#if> 
218              <li class="col-xs-6 ${cssClass}">                
219                <a href="${cur_historico.urlHistorico.getData()}" target="_blank"> 
220                  <span> ${cur_historico.getData()}</span> 
221                  <#if cur_historico.icono?? && cur_historico.icono.getData() !="">                 
222                      <img src="${cur_historico.icono.getData()})" alt="" />    
223                  <#else>  
224                    <img src="/o/idepa-theme-1.0.0/images/iconos/historicos.png" alt="" />                 
225                  </#if> 
226              </a> 
227            </li>     
228             
229          </#if> 
230        </#list> 
231        <#if contadorHistorico != 0>  
232          </ul> 
233          </div> 
234        </#if>          
235      </#if> 
236    </#if> 
237  </div> 
238</div> 
239 
240<script> 
241   
242  $(document).ready(function() { 
243 
244     
245      $('.hideRow td.historico a').click(function(){ 
246 
247          $(this).closest('table').find('tbody tr:not(:last, .dato-visible)').slideToggle('slow'); 
248 
249      }); 
250 
251      
252           
253 
254 
255  }); 
256 
257 
258 
259</script> 
Modificar empresa
Alta empresa