1<#-- Naviga secondo livello Note -->
2<#if entries?has_content>
3 <#assign parendId = 0 />
4 <#list entries as curPage>
5 <#if curPage?is_first>
6 <#assign parentId = curPage.getParentLayoutId()/>
7 <#break>
8 </#if>
9 </#list>
10
11 <#assign LayoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")>
12
13 <#assign parentLayout = LayoutLocalService.getLayout(groupId, false, parentId) />
14 <div class="underline_title istituzionale">
15 <a href="${parentLayout.getFriendlyURL(locale)}">
16 <h2 class="portlet-content portlet-title-text-model portlet-title-text">${parentLayout.getName(locale)}<span class="Icon Icon-chevron-right"></span></h2>
17 </a>
18
19
20 <div class=" u-color-black">
21 <div class="u-layout-wide">
22 <section>
23 <ul class="Grid Grid--withGutter">
24 <#list entries as curPage>
25 <#if !curPage.isHidden()>
26 <li class="Grid-cell u-sizeFull">
27
28 <#assign splitter = themeDisplay.getURLCurrent()?split("/")>
29 <#assign currentPageFriendlyUrl = splitter?last>
30
31 <#if currentPageFriendlyUrl?contains("?")>
32 <#assign currentPageFriendlyUrl = currentPageFriendlyUrl?substring(0,currentPageFriendlyUrl?index_of("?"))>
33 </#if>
34
35 <#assign pageFriendlyUrl = curPage.getFriendlyURL(locale)?substring(1, curPage.getFriendlyURL(locale)?length)>
36
37 <#assign currentLayout = LayoutLocalService.fetchLayoutByFriendlyURL(groupId, false, "/" + currentPageFriendlyUrl) />
38 <#assign expandoAttribute = curPage.getExpandoBridge().getAttribute("Attiva") />
39 <#assign isCurrentPage = pageFriendlyUrl == currentPageFriendlyUrl />
40 <#assign cssClassUrl = "u-color-black">
41 <#if isCurrentPage >
42 <#assign cssClassUrl = "u-color-blu">
43 </#if>
44
45 <#assign urlPage = pageFriendlyUrl />
46 <#if urlPage?length == 0 && curPage.getTypeSettingsProperty("url")?has_content>
47 <#assign urlPage = curPage.getTypeSettingsProperty("url")/>
48 </#if>
49
50 <#if expandoAttribute>
51 <#if urlPage == "#">
52 <p class="Leads-link u-color-black u-textWeight-700" >${curPage.getName(locale)}</p>
53 <#else>
54 <a class="Leads-link ${cssClassUrl} u-textWeight-700" href="${urlPage}">${curPage.getName(locale)}<span class="Icon Icon-chevron-right"></span></a>
55 </#if>
56 <#else>
57 <div class="Leads-link u-textWeight-700" style="color:#ccc">${curPage.getName(locale)}</div>
58 </#if>
59
60
61 <#assign isChildCurrentPage = false />
62 <#list curPage.getChildren() as child>
63 <#if child.getLayoutId() == currentLayout.getLayoutId()>
64 <#assign isChildCurrentPage = true />
65 <#break>
66 <#else>
67 <#list child.getChildren() as child2>
68 <#if child2.getLayoutId() == currentLayout.getLayoutId()>
69 <#assign isChildCurrentPage = true />
70 <#break>
71 </#if>
72 </#list>
73 </#if>
74 </#list>
75
76
77 <#if curPage.getChildren()?has_content && (isCurrentPage || isChildCurrentPage)>
78 <ul class="Grid Grid--withGutter child">
79 <#list curPage.getChildren() as child>
80 <li class="Grid-cell u-sizeFull">
81 <#assign expandoAttributeChild = child.getExpandoBridge().getAttribute("Attiva") />
82
83 <#assign pageFriendlyUrl = child.getFriendlyURL(locale)?substring(1, child.getFriendlyURL(locale)?length)>
84 <#assign isCurrentPage = pageFriendlyUrl == currentPageFriendlyUrl />
85 <#assign cssClassUrl = "u-color-black">
86
87 <#assign isChildCurrentPage = false />
88 <#list child.getChildren() as child2>
89 <#if child2.getLayoutId() == currentLayout.getLayoutId()>
90 <#assign isChildCurrentPage = true />
91 <#break>
92 </#if>
93 </#list>
94
95
96 <#if isCurrentPage || isChildCurrentPage>
97 <#assign cssClassUrl = "u-color-blu">
98 </#if>
99
100
101 <#assign urlPage = pageFriendlyUrl />
102 <#if urlPage?length == 0 && child.getTypeSettingsProperty("url")?has_content>
103 <#assign urlPage = child.getTypeSettingsProperty("url")/>
104 </#if>
105
106 <#assign isChildCurrentPage = false />
107 <#list child.getChildren() as child2>
108 <#if child2.getLayoutId() == currentLayout.getLayoutId()>
109 <#assign isChildCurrentPage = true />
110 <#break>
111 </#if>
112 </#list>
113
114
115 <#if expandoAttributeChild || isChildCurrentPage>
116 <#if urlPage == "#">
117 <p class="Leads-link u-color-black u-textWeight-700 u-padding-left-s" >${child.getName(locale)}</p>
118 <#else>
119 <a class="Leads-link u-padding-left-s ${cssClassUrl} u-textWeight-700" href="${urlPage}">${child.getName(locale)}<span class="Icon Icon-chevron-right"></span></a>
120 </#if>
121 <#else>
122 <div class="Leads-link u-textWeight-700 u-padding-left-s" style="color:#ccc">${child.getName(locale)}</div>
123 </#if>
124
125
126 <#assign isChildCurrentPage = false />
127 <#list child.getChildren() as child2>
128 <#if child2.getLayoutId() == currentLayout.getLayoutId()>
129 <#assign isChildCurrentPage = true />
130 <#break>
131 </#if>
132 </#list>
133
134 <#--<#if child.getChildren()?has_content && (isCurrentPage || isChildCurrentPage)>
135 <ul class="Grid Grid--withGutter child">
136 <#list child.getChildren() as child2>
137 <li class="Grid-cell u-sizeFull">
138 <#assign expandoAttributeChild = child2.getExpandoBridge().getAttribute("Attiva") />
139
140 <#assign pageFriendlyUrl = child2.getFriendlyURL(locale)?substring(1, child2.getFriendlyURL(locale)?length)>
141 <#assign isCurrentPage = pageFriendlyUrl == currentPageFriendlyUrl />
142 <#assign cssClassUrl = "u-color-black">
143 <#if isCurrentPage >
144 <#assign cssClassUrl = "u-color-blu">
145 </#if>
146
147
148 <#assign urlPage = pageFriendlyUrl />
149 <#if urlPage?length == 0 && child2.getTypeSettingsProperty("url")?has_content>
150 <#assign urlPage = child2.getTypeSettingsProperty("url")/>
151 </#if>
152
153 <#if expandoAttributeChild>
154 <#if urlPage == "#">
155 <p class="Leads-link u-color-black u-textWeight-700 u-padding-left-l" >${child2.getName(locale)}</p>
156 <#else>
157 <a class="Leads-link u-padding-left-l ${cssClassUrl} u-textWeight-700" href="${urlPage}">${child2.getName(locale)}<span class="Icon Icon-chevron-right"></span></a>
158 </#if>
159 <#else>
160 <div class="Leads-link u-textWeight-700 u-padding-left-l" style="color:#ccc">${child2.getName(locale)}</div>
161 </#if>
162
163 <#assign isChildCurrentPage = false />
164 <#list child2.getChildren() as child3>
165 <#if child3.getLayoutId() == currentLayout.getLayoutId()>
166 <#assign isChildCurrentPage = true />
167 <#break>
168 </#if>
169 </#list>
170
171 <#if child2.getChildren()?has_content && (isCurrentPage || isChildCurrentPage)>
172 <ul class="Grid Grid--withGutter child">
173 <#list child2.getChildren() as child3>
174 <li class="Grid-cell u-sizeFull">
175 <#assign expandoAttributeChild = child3.getExpandoBridge().getAttribute("Attiva") />
176
177 <#assign pageFriendlyUrl = child3.getFriendlyURL(locale)?substring(1, child3.getFriendlyURL(locale)?length)>
178 <#assign isCurrentPage = pageFriendlyUrl == currentPageFriendlyUrl />
179 <#assign cssClassUrl = "u-color-black">
180 <#if isCurrentPage >
181 <#assign cssClassUrl = "u-color-blu">
182 </#if>
183
184
185 <#assign urlPage = pageFriendlyUrl />
186 <#if urlPage?length == 0 && child3.getTypeSettingsProperty("url")?has_content>
187 <#assign urlPage = child3.getTypeSettingsProperty("url")/>
188 </#if>
189
190 <#if expandoAttributeChild>
191 <#if urlPage == "#">
192 <p class="Leads-link u-color-black u-textWeight-700 u-padding-left-xxl" >${child3.getName(locale)}</p>
193 <#else>
194 <a class="Leads-link u-padding-left-xxl ${cssClassUrl} u-textWeight-700" href="${urlPage}">${child3.getName(locale)}<span class="Icon Icon-chevron-right"></span></a>
195 </#if>
196 <#else>
197 <div class="Leads-link u-textWeight-700 u-padding-left-xxl" style="color:#ccc">${child3.getName(locale)}</div>
198 </#if>
199
200 </li>
201 </#list>
202 </ul>
203 </#if>
204
205 </li>
206 </#list>
207 </ul>
208 </#if>-->
209
210 </li>
211 </#list>
212 </ul>
213 </#if>
214 </li>
215 </#if>
216 </#list>
217 </ul>
218 </section>
219 </div>
220 </div>
221 <br/>
222 <#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent()/>
223 <#if currentUrl?contains("?")>
224 <#assign currentUrl = currentUrl?substring(0,currentUrl?index_of("?"))/>
225 </#if>
226
227 <#setting url_escaping_charset='utf-8'>
228
229 <#assign currentTitle = themeDisplay.getLayout().getName(locale)?replace(" ", "+") />
230 <div>
231 <div class="underline_title istituzionale"> <h2 class="portlet-content portlet-title-text-model portlet-title-text"><@liferay_ui['message'] key='label.templates.condividi' /></h2> </div>
232 <div class="social_share" style="font-size: 25px; margin-top: -15px; margin-bottom: 15px;">
233
234 <a href="http://www.facebook.com/sharer.php?u=${currentUrl}" title="<@liferay_ui['message'] key='title.label.facebook' />" aria-label="<@liferay_ui['message'] key='aria.label.facebook' />" target="_blank">
235 <i class="fab fa-facebook-square" style="color: #3b5998"></i>
236 </a>
237 <a href="https://twitter.com/intent/tweet?text=${currentTitle}&tw_p=tweetbutton&url=${currentUrl}" title="<@liferay_ui['message'] key='title.label.twitter' />" aria-label="<@liferay_ui['message'] key='aria.label.twitter' />" target="_blank">
238 <i class="fab fa-twitter-square" style="color: #1da1f2"></i>
239 </a>
240 <#--<a href="https://plus.google.com/share?url=${currentUrl}" target="_blank">
241 <i class="fab fa-google-plus-square" style="color: #dd4b39"></i>
242 </a> -->
243 <a href="https://api.whatsapp.com/send?phone=&text=${currentUrl}" title="<@liferay_ui['message'] key='title.label.whatsapp' />" aria-label="<@liferay_ui['message'] key='aria.label.whatsapp' />" target="_blank">
244 <i class="fab fa-whatsapp-square" style="color: #1FBEA5"></i>
245 </a>
246
247 <a href="https://www.linkedin.com/sharing/share-offsite/?url=${currentUrl}" target="_blank" title="<@liferay_ui['message'] key='label.button.linkedin' />" aria-label="<@liferay_ui['message'] key='aria.label.linkedin' />">
248 <i class="fab fa-linkedin" style="color: #1da1f2"></i>
249 </a>
250 <a href="https://www.instagram.com/aifa_agenziafarmaco/" target="_blank" title="Instagram" aria-label="Vai a Instagram">
251 <i class="fab fa-instagram" style="color: #1da1f2"></i>
252 </a>
253
254 <a href="https://open.spotify.com/show/3VoGZXBNgmtREOgL5dgSYP" target="_blank" title="Spotify" aria-label="Vai a Spotify">
255 <i class="fab fa-spotify" style="color: #1da1f2"></i>
256 </a>
257
258 <a href="https://telegram.me/share/url?url=${currentUrl}" title="<@liferay_ui['message'] key='title.label.telegram' />" aria-label="<@liferay_ui['message'] key='aria.label.telegram' />" target="_blank">
259 <i class="fab fa-telegram" style="color: #32AFED"></i>
260 </a>
261 <a href="mailto:subject=${currentTitle}&body=${currentUrl?url}" title="<@liferay_ui['message'] key='title.label.mail' />" aria-label="<@liferay_ui['message'] key='aria.label.mail' />">
262 <i class="fas fa-envelope-square" style="color:#0066cc"></i>
263 </a>
264 <a href="javascript:window.print();" aria-label="<@liferay_ui['message'] key='aria.label.stampa' />" title="<@liferay_ui['message'] key='title.label.stampa' />"><i class="fas fa-print"></i></a>
265 </div>
266 </div>
267 </div>
268</#if>