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