{extends file=$smarty.const.SMARTY_LAYOUT_DASHBOARD_WIDGET_DEFAULT}

{block name="content"}
	<div>{$_LANG['dashboard']['widgets']['App\Dashboard\Widget\BookmarkWebsites']['expl']}</div>

	{if $widget['data']['linksList']}
		<ol class="itemsList">
			{foreach $widget['data']['linksList'] as $link}
				<li>
					<a href="{$link['url']}" class="link" target="_blank">{$link['name']}</a>
				</li>
			{/foreach}
		</ol>
	{else}
		<div class="messageDivContainer layout-inline">
			{message type="info" message=$widgetLang['messages']['noLinks']}
		<div>
	{/if}
{/block}