From 1d7627ca787798f781711fde6f707c2c0967a080 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 04 2016 08:28:33 +0000 Subject: Be consistent in the way we retrieve ENABLE_GROUP_MNGT from the config --- diff --git a/pagure/templates/group_list.html b/pagure/templates/group_list.html index d15c2cb..2747332 100644 --- a/pagure/templates/group_list.html +++ b/pagure/templates/group_list.html @@ -116,7 +116,7 @@ $(document).ready(function() { return false; } }); - {% if config.get('ENABLE_GROUP_MNGT') %} + {% if config.get('ENABLE_GROUP_MNGT', False) %} $('#add_group').on( 'shown.bs.modal', function () { $('#group_name').focus()