From fc747c6b992502c22bedd523963666dccefa067a Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 29 2015 15:49:33 +0000 Subject: Use the comment identifier for the anchor as done for the issues --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index d6a9abe..494584b 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -297,7 +297,7 @@ {% for comment in pull_request.discussion %} {% if not comment.commit_id %} - {{ show_comment(comment, loop.index, repo, username, + {{ show_comment(comment, comment.id, repo, username, requestid, form, repo_admin) }} {% endif %} {% endfor %}