{* Block Reinsurance Custom Prestashop module
 * Copyright 2014, Prestaddons
 * Author: Prestaddons
 * Website: http://www.prestaddons.fr
 *}
 
{if $infos|@count > 0}
<!-- MODULE Block Reinsurance Custom -->
<div id="reinsurance-custom-wrapper">
	<div id="reinsurance-custom-block" class="clearfix">
		<ul class="width{$nbblocks|escape:html:'UTF-8'}">	
			{foreach from=$infos item=info}
				<li>
					{if isset($info.link) && $info.link != ''}
					<a href="{$info.link|escape:html:'UTF-8'}" title="{$info.text|escape:html:'UTF-8'}" {if $info.new_window}target="_blank"{/if}>
					{/if}
					<i class="icon" data-icon="&#x{$info.icon_name|escape:html:'UTF-8'}"></i> <span>{$info.text|escape:html:'UTF-8'}</span>
					{if isset($info.link) && $info.link != ''}
					</a>
					{/if}
				</li>                        
			{/foreach}
		</ul>
	</div>
</div>
<!-- /MODULE Block reinsurance Custom -->
{/if}