From 3dcb6265e3fe9898393edf678b1b221b132164d0 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 31 2014 11:58:46 +0000 Subject: Don't show the pagination if there is only one page Signed-off-by: Pierre-Yves Chibon --- diff --git a/progit/templates/user_info.html b/progit/templates/user_info.html index 0255e3f..42f7dc6 100644 --- a/progit/templates/user_info.html +++ b/progit/templates/user_info.html @@ -8,7 +8,7 @@

{{ username }}

-{% if total_page_repos %} +{% if total_page_repos and total_page_repos > 1 %}
@@ -49,7 +49,7 @@ -{% if total_page_forks %} +{% if total_page_forks and total_page_forks > 1 %}