{% include 'header.twig' %}
{% for order in orders %} {% endfor %}
{{ lang['subscriptions.id'] }} {{ lang['subscriptions.username'] }} {{ lang['subscriptions.quantity'] }} {{ lang['subscriptions.posts'] }} {{ lang['subscriptions.delay'] }} {{ lang['subscriptions.service'] }} {{ lang['subscriptions.status'] }} {{ lang['subscriptions.created'] }} {{ lang['subscriptions.updated'] }} {{ lang['subscriptions.expiry'] }}
{{ order['id'] }} {% if order['quantity_min'] == order['quantity_max'] %}{{ order['quantity_max']}}{% else %}{{ order['quantity_min'] }}-{{ order['quantity_max'] }}{% endif %} {% if order['current_count'] %} {{ order['current_count'] }} {% else %} {{ order['current_count'] }} {% endif %} / {{ order['posts'] }} {{ order['delay'] }} {{ order['service'] }} {{ order['status_name'] }} {{ order['date_created'] }} {{ order['date_updated'] }} {{ order['date_expiry'] }} {% if order['status'] == "active" %} {{ lang['subscriptions.button.pause'] }} {% endif %} {% if order['status'] == "paused" %} {{ lang['subscriptions.button.unpause'] }} {{ lang['subscriptions.button.cancel'] }} {% endif %}
{% if pagination["count"] > 1 %}
    {% if pagination["current"] != 1 %}
  • {% endif %} {% set r, l = 3, 3 %} {% if pagination['current'] == 1 %} {% set r = 7 %} {% endif %} {% if pagination['current'] == 2 %} {% set r = 5 %} {% endif %} {% if pagination['current'] >= pagination['count'] %} {% set l = 5 %} {% endif %} {% for page in 1..pagination["count"] %} {% if page >= (pagination['current']-l) and page <= (pagination['current']+r) %} {{ page }} {%endif%} {% endfor %} {% if pagination['current'] < pagination['count'] %}
  • {% endif %}
{% endif %}
{% include 'footer.twig' %}