diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 68ccee8..4baee8e 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -40,7 +40,8 @@ - {% elif pull_request.status == 'Open' and authenticated and + {% endif %} + {% if pull_request.status == 'Open' and authenticated and (repo_admin or g.fas_user.username == pull_request.user.username) %}
  • - {% elif pull_request.status != 'Open' %} + {% endif %} + {% if pull_request.status != 'Open' %}
  • {{ pull_request.status }} by