{# empty Twig template #}
<div class="widgetbox">
    <div class="title"><h3>Новые клиенты</h3></div>
<div class="widgetoptions">
        <div class="right"><a href="/admin/shop/customers/customers">Посмотреть всех</a></div>
        <a href="/admin/shop/customers/customers?fn=add">Добавить клиента</a>
    </div>
    <div class="widgetcontent userlistwidget nopadding">
        <ul>
            {%for client in clients%}
            <li>
                <div class="avatar"><img width="50" src="/_diamond/diamond-cms/assets/images/user_none.jpg" alt=""></div>
                <div class="info">
                    {{anchor("/admin/shop/customers/customers","",{},{"id":client.id})}}
                        <br>
                        {{client.email}} {{client.phone}}<br> {{last_time(client.registred|date('U'))}}
                </div><!--info-->
            </li>            
            {%endfor%}
        </ul>
        {#<a href="/admin/shop/customers/customers" class="more">Перейти в справочник клиентов</a>#}
    </div><!--widgetcontent-->
</div>