Fix pager prev/next button.

This commit is contained in:
Rob Vermaas 2012-04-13 10:23:27 +02:00
parent 6b65712045
commit 1e7f9c8a15
2 changed files with 2 additions and 2 deletions

View file

@ -396,7 +396,7 @@
<li><a href="[% "$baseUri?page=1" %]">First</a></li>
<li [% IF page == 1 %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page - 1) %]">Previous</a></li>
<li [% IF page * resultsPerPage < total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next</a></li>
<li [% IF page * resultsPerPage >= total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next</a></li>
<li><a href="[% "$baseUri?page="; (total - 1) div resultsPerPage + 1 %]">Last</a></li>
</ul>
<!--

View file

@ -5,7 +5,7 @@
}
.logo {
height: 30px;
height: 20px;
}
th {