From be8fd92674e73432f8ba2cb59a486cfb1953f422 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Nov 16 2017 09:37:31 +0000 Subject: Do not show the buttons to create new project is pagure is not allowing it Coming from: https://pagure.io/pagure/pull-request/2771 Signed-off-by: Pierre-Yves Chibon --- diff --git a/template/index_auth.html b/template/index_auth.html index 9b77f2d..ce670ef 100644 --- a/template/index_auth.html +++ b/template/index_auth.html @@ -24,7 +24,8 @@
My Projects {{repos | count}} - {% if config.get('ENABLE_NEW_PROJECTS', True) and repos %} + {% if config.get('ENABLE_NEW_PROJECTS', True) and + config.get('ENABLE_UI_NEW_PROJECTS', True) and repos %}
You have no projects