forked from PrestaShop/hummingbird
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinkblock.tpl
More file actions
31 lines (28 loc) · 1.11 KB
/
linkblock.tpl
File metadata and controls
31 lines (28 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{foreach $linkBlocks as $linkBlock}
<div class="footer__block col-md-6 col-lg-3">
<p class="footer__block__title d-none d-md-flex">{$linkBlock.title}</p>
<div role="button" class="footer__block__toggle d-md-none collapsed" aria-expanded="false" data-bs-target="#footer_sub_menu_{$linkBlock.id}" data-bs-toggle="collapse">
<span class="footer__block__title">{$linkBlock.title}</span>
<i class="material-icons" aria-hidden="true">arrow_drop_down</i>
</div>
<ul id="footer_sub_menu_{$linkBlock.id}" class="footer__block__content footer__block__content-list collapse">
{foreach $linkBlock.links as $link}
<li>
<a
id="{$link.id}-{$linkBlock.id}"
class="{$link.class}"
href="{$link.url}"
title="{$link.description}"
{if !empty($link.target)} target="{$link.target}" {/if}
>
{$link.title}
</a>
</li>
{/foreach}
</ul>
</div>
{/foreach}