feat(extra-features): A bunch of improvements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
<div class="col-auto mt-2 px-1">
|
||||
<div class="col-auto">
|
||||
<a
|
||||
class="product-page__action-btn btn btn-light shadow rounded-circle favorite-btn p-2"
|
||||
href="#"
|
||||
|
||||
@@ -23,8 +23,27 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
*}
|
||||
|
||||
{* Simple display without titles for the header and footer *}
|
||||
{if $hookName == "displayFooterPrivacy"}
|
||||
{foreach $linkBlocks as $linkBlock}
|
||||
{foreach $linkBlock.links as $link}
|
||||
<p class="links-list__elem mb-0">
|
||||
<a
|
||||
id="{$link.id}-{$linkBlock.id}"
|
||||
class="{$link.class} links-list__link"
|
||||
href="{$link.url}"
|
||||
title="{$link.description}"
|
||||
{if !empty($link.target)} target="{$link.target}" {/if}
|
||||
>
|
||||
{$link.title}
|
||||
</a>
|
||||
</p>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{else}
|
||||
{* Regular display *}
|
||||
{foreach $linkBlocks as $linkBlock}
|
||||
<div class="col-md-3 col-12 mb-lg-4">
|
||||
<div class="col-12 col-md-3">
|
||||
{assign var=_expand_id value=10|mt_rand:100000}
|
||||
<div class="d-flex align-items-center mb-3 justify-content-between position-relative">
|
||||
<span class="h4 mb-0">{$linkBlock.title}</span>
|
||||
@@ -57,3 +76,4 @@
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
Reference in New Issue
Block a user