From 2b1f593b17e2257dc59d3efd649000b1e749c92c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 19 Nov 2014 02:04:59 +0100 Subject: templates/group: hide group deletion for non group admins --- templates/group.html | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'templates/group.html') diff --git a/templates/group.html b/templates/group.html index 5691e1b..d364b10 100644 --- a/templates/group.html +++ b/templates/group.html @@ -30,24 +30,26 @@ -
- +{% if admin %} +
+ -
- -
- + +{% endif %} {% endblock %} -- cgit v1.2.3-1-g7c22