From 580fe8645e6a30e5ddeb1bd92d705b742a699c97 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Wed, 18 Sep 2013 14:26:41 -0300 Subject: [PATCH] Fixing paginator --- src/super_archives/templates/message-list.html | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/src/super_archives/templates/message-list.html b/src/super_archives/templates/message-list.html index 62f1190..4ce88c4 100644 --- a/src/super_archives/templates/message-list.html +++ b/src/super_archives/templates/message-list.html @@ -40,26 +40,23 @@ {% endfor %} -
 
-
- {% if n_results %} -
- {% if threads.has_previous %} - {% trans "Previous" %} - {% endif %} + {% if n_results %} +
+ {% if threads.has_previous %} + {% trans "Previous" %} + {% endif %} - - {% trans "Page" %} {{ threads.number }} {% trans "of" %} {{ threads.paginator.num_pages }} - + + {% trans "Page" %} {{ threads.number }} {% trans "of" %} {{ threads.paginator.num_pages }} + - {% if threads.has_next %} - {% trans "Next" %} - {% endif %} + {% if threads.has_next %} + {% trans "Next" %} {% endif %} -
+ {% endif %}
-- libgit2 0.21.2