From 410361ffb33577c475032e91399ce64bd28e7410 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Jan 07 2016 01:19:47 +0000 Subject: cleaned up buttons on comments --- diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html index 61d76b1..b591b39 100644 --- a/pagure/templates/_formhelper.html +++ b/pagure/templates/_formhelper.html @@ -133,25 +133,27 @@ {% if comment.edited_on %} Edited {{ comment.edited_on | humanize }} by {{ comment.editor.username }} {% endif %} - +
+
+ + + + + + + {% if id != 0 and g.fas_user and ( + (comment.parent.status in [True, 'Open'] and g.fas_user.username == comment.user.username) + or repo_admin) %} + + {% endif %} +
+