Skip to content
Snippets Groups Projects
Commit 03feae7c authored by Martin Mareš's avatar Martin Mareš
Browse files

Admin: Oprava stránkování v seznamu DSN

Closes #449.
parent e2fb5eca
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
{% block title %}Všechny nedoručenky{% endblock %}
{% block body %}
<form action="" method="GET" class="form form-inline" role="form">
<div class="btn-group">
{% if pager.offset.data > 0 %}
{{ wtf.form_field(pager.previous) }}
......@@ -15,6 +16,9 @@
<button class="btn" disabled>Další</button>
{% endif %}
</div>
<input type="hidden" name="offset" value="{{pager.offset.data}}">
<input type="hidden" name="limit" value="{{pager.limit.data}}">
</form>
{% if count > 0 %}
Zobrazuji nedoručenky <b>{{pager.get_min()}}</b><b>{{pager.get_max(count)}}</b> z <b>{{count}} nalezených</b>.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment