Scopri tutte le attività:
vivi Trento
Trento si trova nella posizione geografica perfetta per godere di mille possibilità: dalla passeggiata in città al trekking di mezza montagna, fino alla pedalata sul circuito dei laghi di Levico e Caldonazzo...
Non ti basta?
Sapremo darti i consigli giusti per vivere al meglio l'esperienza outdoor!
Fehler bei der Verarbeitung der Vorlage.
Expression immagine is undefined on line 93, column 88 in 425118#425156#1938260.
1<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] />
2
3<#assign suggestoAPI = serviceLocator.findService("suggesto-gui-portlet","eu.suggesto.suggestogui.service.suggestoGuiLocalService")>
4<#assign suggestoMkspAPI = serviceLocator.findService("suggesto-mksp-portlet","eu.suggesto.marketspace.service.MkspDockbarLocalService")>
5<#assign defLocale=localeUtil.fromLanguageId(locale.toString())>
6<#assign serverName=request.getServerName()>
7
8<#if entries?has_content>
9 <section id="activities">
10 <div class="container-big py-5">
11 <div class="row">
12 <div class="col-12 mb-4">
13 <div class="nav btn-group btn-group-toggle justify-content-end" data-toggle="buttons">
14 <label class="view-mode btn rounded-0 text-white m-1 back-black active" data-toggle="tab" data-target="#grid">
15 <input type="radio" name="view"><i class="fas fa-th"></i>
16 </label>
17 <label class="view-mode btn rounded-0 text-white m-1 back-black" data-toggle="tab" data-target="#list">
18 <input type="radio" name="view"><i class="fas fa-bars"></i>
19 </label>
20 </div>
21 </div>
22 <div class="col-12">
23 <div class="tab-content">
24 <div id="grid" class="tab-pane fade show active">
25 <div class="row m-0">
26 <#list entries as entry>
27 <#assign entry = entry />
28 <#assign assetRenderer = entry.getAssetRenderer() />
29 <#assign className = assetRenderer.getClassName() />
30
31 <#if className == "com.liferay.portlet.journal.model.JournalArticle">
32 <#assign journalArticle = assetRenderer.getArticle() >
33 <#assign document = saxReaderUtil.read(journalArticle.getContent())>
34 <#assign rootElement = document.getRootElement()>
35 <#assign titolo = htmlUtil.escape(assetRenderer.getTitle(locale)) />
36
37 <#assign stringSelector = "dynamic-element[@name='categoria']/dynamic-content[@language-id = '" + locale + "']">
38 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
39 <#if xPathSelector.selectSingleNode(rootElement)??>
40 <#assign categoria = xPathSelector.selectSingleNode(rootElement).getData()>
41 </#if>
42
43 <#assign stringSelector = "dynamic-element[@name='icona']/dynamic-content[@language-id = '" + locale + "']">
44 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
45 <#if xPathSelector.selectSingleNode(rootElement)??>
46 <#assign icona = xPathSelector.selectSingleNode(rootElement).getData()>
47 </#if>
48
49 <#assign stringSelector = "dynamic-element[@name='immagine']/dynamic-content[@language-id = '" + locale + "']">
50 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
51 <#if xPathSelector.selectSingleNode(rootElement)??>
52 <#assign immagine = xPathSelector.selectSingleNode(rootElement).getData()>
53 </#if>
54
55 <#assign stringSelector = "dynamic-element[@name='diff']/dynamic-content[@language-id = '" + locale + "']">
56 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
57 <#if xPathSelector.selectSingleNode(rootElement)??>
58 <#assign diff = xPathSelector.selectSingleNode(rootElement).getData()>
59 </#if>
60
61 <#assign stringSelector = "dynamic-element[@name='lunghezza']/dynamic-content[@language-id = '" + locale + "']">
62 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
63 <#if xPathSelector.selectSingleNode(rootElement)??>
64 <#assign lunghezza = xPathSelector.selectSingleNode(rootElement).getData()>
65 </#if>
66
67 <#assign stringSelector = "dynamic-element[@name='durata']/dynamic-content[@language-id = '" + locale + "']">
68 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
69 <#if xPathSelector.selectSingleNode(rootElement)??>
70 <#assign durata = xPathSelector.selectSingleNode(rootElement).getData()>
71 </#if>
72
73 <#assign stringSelector = "dynamic-element[@name='salita']/dynamic-content[@language-id = '" + locale + "']">
74 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
75 <#if xPathSelector.selectSingleNode(rootElement)??>
76 <#assign salita = xPathSelector.selectSingleNode(rootElement).getData()>
77 </#if>
78
79 <#assign stringSelector = "dynamic-element[@name='discesa']/dynamic-content[@language-id = '" + locale + "']">
80 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
81 <#if xPathSelector.selectSingleNode(rootElement)??>
82 <#assign discesa = xPathSelector.selectSingleNode(rootElement).getData()>
83 </#if>
84
85 <#assign stringSelector = "dynamic-element[@name='valutazione']/dynamic-content[@language-id = '" + locale + "']">
86 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
87 <#if xPathSelector.selectSingleNode(rootElement)??>
88 <#assign valutazione = xPathSelector.selectSingleNode(rootElement).getData()?number>
89 </#if>
90 </#if>
91 <div class="col-12 col-md-6 col-lg-3 mb-4">
92 <div class="card rounded-0">
93 <img class="card-img-top rounded-0" src="${immagine}" alt="${titolo}">
94 <div class="card-body">
95 <div class="p-2">
96 <div class="d-inline-flex align-items-center w-100 mb-3">
97 <p class="card-text my-2"><i class="fas fa-${icona} text-body mr-2"></i> ${categoria}</p>
98 <span class="badge badge-secondary rounded-0 ml-auto p-1">${diff}</span>
99 </div>
100 <h5 class="card-title mb-3">${titolo}</h5>
101 <div class="row justify-content-around">
102 <div class="col-5 text-center border-bottom mb-3">
103 <p class="small text-muted mb-1">
104 <i class="fas fa-arrows-alt-h text-body"></i> ${lunghezza}
105 </p>
106 </div>
107 <div class="col-5 text-center border-bottom mb-3">
108 <p class="small text-muted mb-1">
109 <i class="fas fa-clock text-body"></i> ${durata}
110 </p>
111 </div>
112 <div class="col-5 text-center border-bottom mb-3">
113 <p class="small text-muted mb-1">
114 <i class="fas fa-caret-up text-body"></i> ${salita}
115 </p>
116 </div>
117 <div class="col-5 text-center border-bottom mb-3">
118 <p class="small text-muted mb-1">
119 <i class="fas fa-caret-down text-body"></i> ${discesa}
120 </p>
121 </div>
122 </div>
123 <div class="text-center w-100 mt-4">
124 <#list 1..5 as i>
125 <#if (i <= valutazione)>
126 <i class="fas fa-star text-gold"></i>
127 <#else>
128 <i class="fas fa-star text-gold" style="opacity: .4;"></i>
129 </#if>
130 </#list>
131 </div>
132 </div>
133 </div>
134 </div>
135 </div>
136 </#list>
137 </div>
138 </div>
139 <div id="list" class="tab-pane fade">
140 <div class="row justify-content-center m-0">
141 <#list entries as entry>
142 <#assign entry = entry />
143 <#assign assetRenderer = entry.getAssetRenderer() />
144 <#assign className = assetRenderer.getClassName() />
145
146 <#if className == "com.liferay.portlet.journal.model.JournalArticle">
147 <#assign journalArticle = assetRenderer.getArticle() >
148 <#assign document = saxReaderUtil.read(journalArticle.getContent())>
149 <#assign rootElement = document.getRootElement()>
150 <#assign titolo = htmlUtil.escape(assetRenderer.getTitle(locale)) />
151
152 <#assign stringSelector = "dynamic-element[@name='categoria']/dynamic-content[@language-id = '" + locale + "']">
153 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
154 <#if xPathSelector.selectSingleNode(rootElement)??>
155 <#assign categoria = xPathSelector.selectSingleNode(rootElement).getData()>
156 </#if>
157
158 <#assign stringSelector = "dynamic-element[@name='icona']/dynamic-content[@language-id = '" + locale + "']">
159 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
160 <#if xPathSelector.selectSingleNode(rootElement)??>
161 <#assign icona = xPathSelector.selectSingleNode(rootElement).getData()>
162 </#if>
163
164 <#assign stringSelector = "dynamic-element[@name='immagine']/dynamic-content[@language-id = '" + locale + "']">
165 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
166 <#if xPathSelector.selectSingleNode(rootElement)??>
167 <#assign immagine = xPathSelector.selectSingleNode(rootElement).getData()>
168 </#if>
169
170 <#assign stringSelector = "dynamic-element[@name='diff']/dynamic-content[@language-id = '" + locale + "']">
171 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
172 <#if xPathSelector.selectSingleNode(rootElement)??>
173 <#assign diff = xPathSelector.selectSingleNode(rootElement).getData()>
174 </#if>
175
176 <#assign stringSelector = "dynamic-element[@name='lunghezza']/dynamic-content[@language-id = '" + locale + "']">
177 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
178 <#if xPathSelector.selectSingleNode(rootElement)??>
179 <#assign lunghezza = xPathSelector.selectSingleNode(rootElement).getData()>
180 </#if>
181
182 <#assign stringSelector = "dynamic-element[@name='durata']/dynamic-content[@language-id = '" + locale + "']">
183 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
184 <#if xPathSelector.selectSingleNode(rootElement)??>
185 <#assign durata = xPathSelector.selectSingleNode(rootElement).getData()>
186 </#if>
187
188 <#assign stringSelector = "dynamic-element[@name='salita']/dynamic-content[@language-id = '" + locale + "']">
189 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
190 <#if xPathSelector.selectSingleNode(rootElement)??>
191 <#assign salita = xPathSelector.selectSingleNode(rootElement).getData()>
192 </#if>
193
194 <#assign stringSelector = "dynamic-element[@name='discesa']/dynamic-content[@language-id = '" + locale + "']">
195 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
196 <#if xPathSelector.selectSingleNode(rootElement)??>
197 <#assign discesa = xPathSelector.selectSingleNode(rootElement).getData()>
198 </#if>
199
200 <#assign stringSelector = "dynamic-element[@name='valutazione']/dynamic-content[@language-id = '" + locale + "']">
201 <#assign xPathSelector = saxReaderUtil.createXPath(stringSelector)>
202 <#if xPathSelector.selectSingleNode(rootElement)??>
203 <#assign valutazione = xPathSelector.selectSingleNode(rootElement).getData()?number>
204 </#if>
205 </#if>
206
207 <div class="col-12 col-lg-8 mb-4">
208 <div class="card flex-md-row rounded-0">
209 <img class="float-md-left rounded-0" src="${immagine}" alt="${titolo}">
210 <div class="card-body float-md-left">
211 <div class="p-2">
212 <div class="d-block d-md-inline-flex align-items-center w-100 mb-3">
213 <p class="card-text my-2"><i class="fas fa-${icona} text-body mr-2"></i> ${categoria}</p>
214 <span class="badge badge-secondary rounded-0 mx-auto p-1">${diff}</span>
215 <h5 class="card-title my-2">${titolo}</h5>
216 </div>
217 <div class="row justify-content-around">
218 <div class="col-5 text-center border-bottom mb-3">
219 <p class="small text-muted mb-1">
220 <i class="fas fa-arrows-alt-h text-body"></i> ${lunghezza}
221 </p>
222 </div>
223 <div class="col-5 text-center border-bottom mb-3">
224 <p class="small text-muted mb-1">
225 <i class="fas fa-clock text-body"></i> ${durata}
226 </p>
227 </div>
228 <div class="col-5 text-center border-bottom mb-3">
229 <p class="small text-muted mb-1">
230 <i class="fas fa-caret-up text-body"></i> ${salita}
231 </p>
232 </div>
233 <div class="col-5 text-center border-bottom mb-3">
234 <p class="small text-muted mb-1">
235 <i class="fas fa-caret-down text-body"></i> ${discesa}
236 </p>
237 </div>
238 </div>
239 <div class="text-center w-100 mt-4">
240 <#list 1..5 as i>
241 <#if (i <= valutazione)>
242 <i class="fas fa-star text-gold"></i>
243 <#else>
244 <i class="fas fa-star text-gold" style="opacity: .4;"></i>
245 </#if>
246 </#list>
247 </div>
248 </div>
249 </div>
250 </div>
251 </div>
252 </#list>
253 </div>
254 </div>
255 </div>
256 </div>
257 </div>
258 </div>
259 </section>
260</#if>
Follow us
#simplydifferent
Hotel America è social!
Seguici sulle nostre pagine ufficiali