This commit is contained in:
Roman Pyrih
2025-06-20 11:10:02 +02:00
parent 994f721abc
commit 3992f2c1b4
4 changed files with 16 additions and 50 deletions

View File

@@ -1748,39 +1748,6 @@
</div> </div>
</td> </td>
</tr> </tr>
<tr>
<td
align="left"
style="
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
font-size: 0px;
padding: 10px 25px;
padding-top: 0;
word-break: break-word;
"
>
<div
style="
font-family: Open sans, arial,
sans-serif;
font-size: 16px;
line-height: 25px;
text-align: left;
color: #363a41;
"
align="left"
>
<span
class="label"
style="font-weight: 700"
>Recycled packaging:</span
>
{recycled_packaging_label}
</div>
</td>
</tr>
</tbody> </tbody>
</table> </table>
</td> </td>

View File

@@ -26,8 +26,6 @@ Przewoźnik: {carrier}
Płatność: {payment} Płatność: {payment}
Recycled packaging: {recycled_packaging_label}
Adres dostawy Adres dostawy
{delivery_block_txt} {delivery_block_txt}

View File

@@ -17,24 +17,25 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*} *}
<div class="blockreassurance_product"> <div class="blockreassurance_product" t="1">
{foreach from=$blocks item=$block key=$key} {foreach from=$blocks item=$block key=$key}
<div class="item-{$key}" {if $block['type_link'] !== $LINK_TYPE_NONE && !empty($block['link'])} style="cursor:pointer;" onclick="window.open('{$block['link']}')"{/if}> <div class="item-{$key}" {if $block['type_link'] !== $LINK_TYPE_NONE && !empty($block['link'])}
style="cursor:pointer;" onclick="window.open('{$block['link']}')" {/if}>
<span class="item-product"> <span class="item-product">
{if $block['icon'] != 'undefined'} {if $block['icon'] != 'undefined'}
{if $block['custom_icon']} {if $block['custom_icon']}
<img {if $block['is_svg']}class="svg invisible" {/if}src="{$block['custom_icon']}"> <img {if $block['is_svg']}class="svg invisible" {/if}src="{$block['custom_icon']}">
{elseif $block['icon']} {elseif $block['icon']}
<img class="svg invisible" src="{$block['icon']}"> <img class="svg invisible" src="{$block['icon']}">
{/if} {/if}
{/if}&nbsp; {/if}&nbsp;
</span> </span>
{if empty($block['description'])} {if empty($block['description'])}
<p class="block-title" style="color:{$textColor};">{$block['title']}</p> <p class="block-title" style="color:{$textColor};">{$block['title']}</p>
{else} {else}
<span class="block-title" style="color:{$textColor};">{$block['title']}</span> <span class="block-title" style="color:{$textColor};">{$block['title']}</span>
<p class="block-description" style="color:{$textColor};">{$block['description'] nofilter}</p> <p class="block-description" style="color:{$textColor};">{$block['description'] nofilter}</p>
{/if} {/if}
</div> </div>
{/foreach} {/foreach}
</div> </div>

View File

@@ -1,18 +1,18 @@
<?php <?php
/* Smarty version 3.1.48, created on 2024-11-20 08:34:51 /* Smarty version 3.1.48, created on 2025-06-20 09:32:27
from '/home/admin/domains/masimmo.pl/public_html/modules/blockreassurance/views/templates/hook/displayBlockProduct.tpl' */ from '/home/admin/domains/masimmo.pl/public_html/modules/blockreassurance/views/templates/hook/displayBlockProduct.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */ /* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.48', 'version' => '3.1.48',
'unifunc' => 'content_673d911b77c329_95861812', 'unifunc' => 'content_68550e8bc0e812_11312088',
'has_nocache_code' => false, 'has_nocache_code' => false,
'file_dependency' => 'file_dependency' =>
array ( array (
'93a0cdd218a937a2d929097f5b05520bfc378e5c' => '93a0cdd218a937a2d929097f5b05520bfc378e5c' =>
array ( array (
0 => '/home/admin/domains/masimmo.pl/public_html/modules/blockreassurance/views/templates/hook/displayBlockProduct.tpl', 0 => '/home/admin/domains/masimmo.pl/public_html/modules/blockreassurance/views/templates/hook/displayBlockProduct.tpl',
1 => 1732016540, 1 => 1734082386,
2 => 'file', 2 => 'file',
), ),
), ),
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array ( array (
), ),
),false)) { ),false)) {
function content_673d911b77c329_95861812 (Smarty_Internal_Template $_smarty_tpl) { function content_68550e8bc0e812_11312088 (Smarty_Internal_Template $_smarty_tpl) {
?> ?>
<div class="blockreassurance_product"> <div class="blockreassurance_product">
<?php <?php
@@ -29,7 +29,8 @@ $_smarty_tpl->tpl_vars['block']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['block']->value) { if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['key']->value => $_smarty_tpl->tpl_vars['block']->value) {
$_smarty_tpl->tpl_vars['block']->do_else = false; $_smarty_tpl->tpl_vars['block']->do_else = false;
?> ?>
<div<?php if ($_smarty_tpl->tpl_vars['block']->value['type_link'] !== $_smarty_tpl->tpl_vars['LINK_TYPE_NONE']->value && !empty($_smarty_tpl->tpl_vars['block']->value['link'])) {?> style="cursor:pointer;" onclick="window.open('<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['block']->value['link'], ENT_QUOTES, 'UTF-8');?> <div class="item-<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['key']->value, ENT_QUOTES, 'UTF-8');?>
" <?php if ($_smarty_tpl->tpl_vars['block']->value['type_link'] !== $_smarty_tpl->tpl_vars['LINK_TYPE_NONE']->value && !empty($_smarty_tpl->tpl_vars['block']->value['link'])) {?> style="cursor:pointer;" onclick="window.open('<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['block']->value['link'], ENT_QUOTES, 'UTF-8');?>
')"<?php }?>> ')"<?php }?>>
<span class="item-product"> <span class="item-product">
<?php if ($_smarty_tpl->tpl_vars['block']->value['icon'] != 'undefined') {?> <?php if ($_smarty_tpl->tpl_vars['block']->value['icon'] != 'undefined') {?>
@@ -50,7 +51,7 @@ $_smarty_tpl->tpl_vars['block']->do_else = false;
<span class="block-title" style="color:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['textColor']->value, ENT_QUOTES, 'UTF-8');?> <span class="block-title" style="color:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['textColor']->value, ENT_QUOTES, 'UTF-8');?>
;"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['block']->value['title'], ENT_QUOTES, 'UTF-8');?> ;"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['block']->value['title'], ENT_QUOTES, 'UTF-8');?>
</span> </span>
<p style="color:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['textColor']->value, ENT_QUOTES, 'UTF-8');?> <p class="block-description" style="color:<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['textColor']->value, ENT_QUOTES, 'UTF-8');?>
;"><?php echo $_smarty_tpl->tpl_vars['block']->value['description'];?> ;"><?php echo $_smarty_tpl->tpl_vars['block']->value['description'];?>
</p> </p>
<?php }?> <?php }?>
@@ -58,7 +59,6 @@ $_smarty_tpl->tpl_vars['block']->do_else = false;
<?php <?php
} }
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<div class="clearfix"></div>
</div> </div>
<?php } <?php }
} }