forked from PrestaShop/hummingbird
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlinkblock-column.tpl
More file actions
27 lines (24 loc) · 779 Bytes
/
linkblock-column.tpl
File metadata and controls
27 lines (24 loc) · 779 Bytes
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
{**
* 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="left-block">
<p class="left-block__title">{$linkBlock.title}</p>
<ul id="left-block__{$linkBlock.id}" class="left-block__content left-block__content--list">
{foreach $linkBlock.links as $link}
<li>
<a
id="{$link.id}-{$linkBlock.id}"
class="left-block__link {$link.class}"
href="{$link.url}"
title="{$link.description}"
{if !empty($link.target)} target="{$link.target}" {/if}
>
{$link.title}
</a>
</li>
{/foreach}
</ul>
</div>
{/foreach}