{*
* 2007-2022 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs, please contact us for extra customization service at an affordable price
*
*  @author ETS-Soft <etssoft.jsc@gmail.com>
*  @copyright  2007-2022 ETS-Soft
*  @license    Valid for 1 website (or project) for each purchase of license
*  International Registered Trademark & Property of ETS-Soft
*}

{if isset($tickets_number) && $tickets_number}
    <ul class="ets_hd_ticket_number_ul">
        {foreach from=$tickets_number key='key' item='item'}
            <li class="ets_hd_ticket_number_li">
                {if isset($item.type) && $item.type == 'image'}
                    <span>{$item.label|escape:'html':'UTF-8'}:</span> {if $item.value}<a href="{$item.value.link nofilter}" title="{$item.value.name|escape:'html':'UTF-8'}" target="_blank"><img src="{$item.value.logo nofilter}"/> </a>{else}<strong>{l s='None' mod='ets_helpdesk'}</strong>{/if}
                {elseif $item.type == 'int'}
                    <span>{$item.label|escape:'html':'UTF-8'}:</span> <span><strong>{$item.value|intval}</strong></span>
                {else}
                    <span>{$item.label|escape:'html':'UTF-8'}:</span> <span><strong>{if $item.value|trim !== ''}{$item.value|escape:'html':'UTF-8'}{else}{l s='None' mod='ets_helpdesk'}{/if}</strong></span>
                {/if}
            </li>
        {/foreach}
    </ul>
{/if}