<% extends 'layout.html' %>

<% block content %>

<div class="wrap">
  <h1 class="mailpoet-h1">Logs</h1>

  <div id="mailpoet_logs_container"></div>

  <script type="text/javascript">
    <% autoescape 'js' %>
      var mailpoet_logs = <%= json_encode(logs) %>;
    <% endautoescape %>
  </script>
</div>

<%= localize({
  'pageTitle': __('Logs'),
  'tableHeaderName': __('Name'),
  'tableHeaderMessage': __('Message'),
  'tableHeaderCreatedOn': __('Created On'),
  'searchLabel': __('Search'),
  'offsetLabel': __('Offset'),
  'limitLabel': __('Limit'),
  'from': _x('From', 'date from'),
  'to': _x('To', 'date to'),
  'filter': __('Filter'),
}) %>

<% endblock %>
