diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html index a871424..774f6e0 100644 --- a/pagure/templates/_formhelper.html +++ b/pagure/templates/_formhelper.html @@ -144,8 +144,7 @@ {% 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) %} + comment.parent.status in [True, 'Open'] and g.fas_user.username == comment.user.username) %} @@ -153,8 +152,7 @@ {% 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) %} + comment.parent.status in [True, 'Open'] and g.fas_user.username == comment.user.username) %}