feat(main): Add slider block type
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
{include file="module:ws_customhtml/views/templates/hook/_alert.tpl" block=$block}
|
||||
{elseif $block.type == 'usp'}
|
||||
{include file="module:ws_customhtml/views/templates/hook/_usp.tpl" block=$block}
|
||||
{elseif $block.type == 'slider'}
|
||||
{if $block.show_title && !empty($block.title)}
|
||||
<div class="customhtml-title">{$block.title|escape:'html':'UTF-8'}</div>
|
||||
{/if}
|
||||
{include file="module:ws_customhtml/views/templates/hook/_slider.tpl" block=$block}
|
||||
{else}
|
||||
{if $block.show_title && !empty($block.title)}
|
||||
<div class="customhtml-title">{$block.title|escape:'html':'UTF-8'}</div>
|
||||
|
||||
Reference in New Issue
Block a user