{% set batch = request.batch() %}
    {% if batch and batch.previous %}
  • {{ i18n.gettext('Previous')|u }}
  • {% else %}
  • {{ i18n.gettext('Previous')|u }}
  • {% endif %}
  • {{ batch.start }}...{{ batch.start + batch.length -1 }} {{ i18n.gettext('out of')|u }} {{ batch.sequence_length }}
  • {% if batch and batch.next() %}
  • {{ i18n.gettext('Next')|u }}
  • {% else %}
  • {{ i18n.gettext('Next')|u }}
  • {% endif %}