From b8d8c95652a2c309dad49b1d1252e724c2bee1cd Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 16 2015 09:19:45 +0000 Subject: Only hides sections if the user is logged in Otherwise, we may end-up with an empty front-page if we hide all the projects, in that case if the user is logged out the toggle won't be shown and all the projects will be hidden (since we cannot show his/her projects/forks). This way, we make sure to show all the projects in the front page is the user is logged out but hide them by default is the user is logged in. --- diff --git a/pagure/templates/_render_repo.html b/pagure/templates/_render_repo.html index 9498b54..c1b056a 100644 --- a/pagure/templates/_render_repo.html +++ b/pagure/templates/_render_repo.html @@ -35,7 +35,7 @@ {% macro render_repos( list, total, pagetitle, page, title, count, id, username=None) %}