From 74bb2a1c4a35ede73a8d41096305a3a0d830dd47 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 07 2015 16:39:15 +0000 Subject: Make the SHOW_PROJECTS_INDEX list what should be showing in the index page Until now despite its name, we were using this configuration key as a way to hide sections from the index page. With this change, we actually use it to list what should show on the index page. This makes it easier to write the proper if statements to show the sections and the corresponding switch buttons. --- diff --git a/pagure/templates/_render_repo.html b/pagure/templates/_render_repo.html index eb74a3a..f45cb70 100644 --- a/pagure/templates/_render_repo.html +++ b/pagure/templates/_render_repo.html @@ -64,7 +64,7 @@ {% macro render_repos( list, total, pagetitle, page, title, count, id, username=None, hide=True) %}