From 4cecbacbbca3365849515d6394d6fbac8dfe2d12 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 27 2015 18:02:43 +0000 Subject: Do not show the delete button to people that cannot act on it --- diff --git a/pagure/templates/group_info.html b/pagure/templates/group_info.html index 9c66fcc..313b4a3 100644 --- a/pagure/templates/group_info.html +++ b/pagure/templates/group_info.html @@ -14,6 +14,7 @@ {% block content %}

Group: {{ group.group_name }}

+ {% if authenticated and (member or admin) %}