From 967736281872a8b5c4c77b0a11c5e6b2d6858a19 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 13 2015 16:06:15 +0000 Subject: Add the form used to delete comment on a pull-request --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 0a902d5..2327091 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -145,6 +145,8 @@
+
{% if diff %} {% for patch in diff %} @@ -195,16 +197,22 @@ {% endautoescape %} {% endfor %} {% endif %} - +{{ mergeform.csrf_token }} +
{% if pull_request and pull_request.comments%}
+
+ {% for comment in pull_request.discussion %} {% if not comment.commit_id %} {{ show_comment(comment, loop.index, repo, username, requestid, form) }} {% endif %} {% endfor %} +{{ mergeform.csrf_token }} +
{% endif %}