Commit e3209fff authored by Bill Lynch's avatar Bill Lynch Committed by bill

Minor tweak to user paginator (longer term need to use Bruce's tag)


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1097 b35dd754-fafc-0310-a699-88a17e54d16e
parent 72b93666
...@@ -147,6 +147,9 @@ ...@@ -147,6 +147,9 @@
if (s > 5) { if (s > 5) {
s -= 5; s -= 5;
} }
if (s < 5) {
s = 0;
}
if (s > 2) { if (s > 2) {
%> %>
<a href="user-summary.jsp?start=0&range=<%= range %>">1</a> ... <a href="user-summary.jsp?start=0&range=<%= range %>">1</a> ...
...@@ -275,6 +278,9 @@ ...@@ -275,6 +278,9 @@
if (s > 5) { if (s > 5) {
s -= 5; s -= 5;
} }
if (s < 5) {
s = 0;
}
if (s > 2) { if (s > 2) {
%> %>
<a href="user-summary.jsp?start=0&range=<%= range %>">1</a> ... <a href="user-summary.jsp?start=0&range=<%= range %>">1</a> ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment