From d632ca26ef8e4ee23b8e4cb3fcb22b2912d6d750 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Thu, 31 Mar 2016 10:31:32 -0400 Subject: [PATCH] Delete user for admin. --- snipts/templates/snipts/snipt-list.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/snipts/templates/snipts/snipt-list.html b/snipts/templates/snipts/snipt-list.html index 5b5d90a..9af854b 100644 --- a/snipts/templates/snipts/snipt-list.html +++ b/snipts/templates/snipts/snipt-list.html @@ -205,9 +205,15 @@ {% endif %} {% if snipt.user != request.user %} -
  • - Report Spam -
  • + {% if request.user.is_superuser %} +
  • + Delete User +
  • + {% else %} +
  • + Report Spam +
  • + {% endif %} {% endif %} {% if detail and snipt.public %}