diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-08 07:46:04 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-08 07:46:08 +0200 |
commit | 8117e9b8779eeba45399162be03bc2aab7580ca7 (patch) | |
tree | 1911cd809c255202e89b4f9c33685edb3c27c7f5 /templates/news/list.html | |
parent | f637a1eb67ed906b936ef70c0c1d8572edfe5bd7 (diff) | |
download | archweb-8117e9b8779eeba45399162be03bc2aab7580ca7.tar.gz archweb-8117e9b8779eeba45399162be03bc2aab7580ca7.tar.xz |
Paginate the news list view
This view was getting huge with ~500 items on it, and most people are not
really interested in seeing every single news item. Use the drop in
pagination and add some controls that still allow browsing to any page of
the list.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/news/list.html')
-rw-r--r-- | templates/news/list.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/news/list.html b/templates/news/list.html index cadc24a..258456a 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -12,6 +12,8 @@ </ul> {% endif %} + {% include "news/paginator.html" %} + <table id="article-list" class="results"> <thead> <tr> @@ -45,5 +47,7 @@ </tbody> </table> + {% include "news/paginator.html" %} + </div> {% endblock %} |