<div class="tab-container">
    <p class="tab-desc p-sm mb-0">{$rslang->trans('support.attachements_tab.desc')}</p>
    {if is_array($ticketAttachments) && $ticketAttachments|@count > 0}
        <div class="tab-details">
            {foreach item=attachment from=$ticketAttachments}
                <div class="input-group input-group-xs input-group-icons">
                    <div class="input-group-prepend">
                        <i class="ls ls-document"></i>
                    </div>
                    <div class="form-control"><span class="attachment-name">{$attachment.name}<span></div>
                    <div class="input-group-append">
                        <a tabindex="0" href="{$WEB_ROOT}/{$attachment.uri}" data-toggle="tooltip" data-original-title="{$LANG.downloadname}" aria-label="{$LANG.downloadname}">
                            <i class="ls ls-download"></i>
                        </a>
                    </div>
                </div>
            {/foreach}
        </div>
    {else}
        <div class="tab-no-data">
            <p class="p-xs mb-0">{$rslang->trans('support.attachements_tab.no_data')} </p>
        </div>
    {/if}
</div>

