diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index d465ccb..d808e0a 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -35,7 +35,7 @@ href="{{ url_for('request_pull_edit', username=username, repo=repo.name, requestid=requestid) }}" title="Update title">edit - + {% if pull_request.status == 'Open' and authenticated and (repo_admin or g.fas_user.username == pull_request.user.username) %}
- Proposed {{ pull_request.date_created |humanize }} + Proposed {{ pull_request.date_created |humanize }} by {{ pull_request.user.user | avatar(16) | safe }} {{ pull_request.user.user }} From - {{ pull_request.project_from.fullname or pull_request.remote_git}} + {{ pull_request.project_from.fullname or pull_request.remote_git}} {{ pull_request.branch_from }} into - {{ pull_request.project.fullname }} + {{ pull_request.project.fullname }} {{ pull_request.branch }}
@@ -133,14 +133,14 @@ {% endif %}
@@ -293,7 +295,7 @@ {% endif %} - + {% if authenticated and mergeform and pull_request %}
@@ -354,7 +356,7 @@ {% endif %}
- + {% if pull_request.flags %}
    @@ -375,7 +377,7 @@
{% endif %} - + {#
@@ -702,7 +704,7 @@ function setup_reply_btns() { $('#merge-alert').addClass("alert-success"); $('#merge-alert-message').append(res.message); $('#merge-alert').show(); - } + } else if (res.code == 'MERGE') { $('#merge_btn').addClass("btn-warning"); $('#merge-alert').addClass("alert-warning");