{% extends template ~ '/base.twig' %}
{% set page_title = 'Логи писем' %}

{% block content %}

    <div class="tab-base">

        <ul class="nav nav-tabs">
            <li>
                <a href="{{ admin_path('/diamond/system/email_requests')}}">История отправки писем</a>
            </li>
            <li class="active">
                <a href="{{ admin_path('/diamond/system/email_requests_chart')}}">График</a>
            </li>
        </ul>

        <!--Tabs Content-->
        <div class="tab-content">
            <div id="demo-lft-tab-2" class="tab-pane fade active in">
                {{module('Diamond.StatChart',{
                    "height":400,"interval":60,"url":"/_service/diamond/stat/mail_requests","control":false
                })}}
            </div>
        </div>
    </div>


{%endblock%}