{% load i18n locale %}
<table id="reports-header">
  <tr>
    <td id="reports-form">
      {% if admin_report %}<input id="reports-user" type="text" placeholder="{% trans 'User' %}"></input>{% endif %}
    </td>
    <td id="reports-params">
      <div class="dates">
        <ul>
          <li>
            <a class="js-month js-previous" href="#"><span class="arrow">
            {% if locale_dir != "rtl" %}&larr;{% else %}&rarr;{% endif %}</span> {% trans "Previous month" %}</a>
          </li>
          <li class="selected"></li>
          <li>
             <a class="js-month js-next" href="#">{% trans "Next month" %} <span class="arrow">
             {% if locale_dir != "rtl" %}&rarr;{% else %}&larr;{% endif %}</span></a>
          </li>
        </ul>
      </div>
    </td>
    <td id="detailed">
      {% if admin_report %}
      <a href="" target="_blank">{% trans 'Detailed Report' %}</a>
      {% else %}
      <a href="" target="_blank">{% trans 'Detailed Statistics' %}</a>
      {% endif %}
    </td>
  </tr>
</table>
