diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html
index 7f816ea..b57c7ca 100644
--- a/pagure/templates/pull_request.html
+++ b/pagure/templates/pull_request.html
@@ -382,33 +382,34 @@
{% endif %}
- {#
-
-
-
-
-
- | Assignee |
-
- {% if authenticated and mergeform and pull_request.status == True %}
- |
-
-
+
+
+ {% endif %}
+
+ {% if authenticated and mergeform and pull_request.status == 'Open' %}
+
+
cancel
+
+
Edit Metadata
+ {% endif %}
- #}
{% endif %}
{% if diff and pull_request%}
@@ -772,6 +773,13 @@ $('#assignee').selectize({
}
});
+ $( ".editmetadatatoggle" ).click(
+ function() {
+ $( ".issue-metadata-form" ).toggle();
+ $( ".issue-metadata-display" ).toggle();
+ }
+ );
+
function try_async_comment(form, inline) {
$(form).off('submit');
$(form).find('input[type="submit"]').attr("disabled", "disabled");