{% extends "wordListBase.html" %} {% block listAfter %} {% with list.data|length as listLength %} {% ifequal listLength list.batchSize %} {% if list.hasPrev %} Iepriekšējie {{ list.batchSize }} {% else %} Iepriekšējie {{ list.batchSize }} {% endif %} {% if list.hasNext %} Nākamie {{ list.batchSize }} {% else %} Nākamie {{ list.batchSize }} {% endif %} {% endifequal %} {% endwith %} {% endblock %}