From 734da0688f594c511d9709fc0acca723ac8b95a1 Mon Sep 17 00:00:00 2001 From: Vivek Anand Date: Jul 02 2017 13:32:31 +0000 Subject: don't show '+' for groups when USER_MNGT off Signed-off-by: Vivek Anand --- diff --git a/pagure/templates/index_auth.html b/pagure/templates/index_auth.html index 18078e6..e838784 100644 --- a/pagure/templates/index_auth.html +++ b/pagure/templates/index_auth.html @@ -186,11 +186,13 @@
My Groups {{ user.groups | length }} - - - + {% if config.get('ENABLE_USER_MNGT') %} + + + + {% endif %}
{% for group in user.groups %}