diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html index d9dd2e7..0877448 100644 --- a/pagure/templates/_formhelper.html +++ b/pagure/templates/_formhelper.html @@ -138,9 +138,11 @@ {% endif %}
- - - + {% if id != 0 and g.fas_user and comment.parent.status in [True, 'Open'] or repo_admin %} + + + + {% 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) %} @@ -176,10 +178,12 @@
- - - + {% if repo_admin or g.fas_user %} + + + + {% endif %} {% if repo_admin or ( g.fas_user and g.fas_user.username == comment.user.username) %}