From 1e157cf431d6f6be3990e3e47d1d0c139302fbc8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 27 2016 17:39:59 +0000 Subject: Display the notifications on tickets as notifications not comments --- diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index 58b9427..288363a 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -41,7 +41,21 @@
{% if issue.comments %} {% for comment in issue.comments %} + {% if comment.notification %} +
+
+
+
+ {{ + comment.date_created | humanize }} +
+ {{ comment.comment | markdown | noJS | safe }} +
+
+
+ {% else %} {{ show_comment(comment, comment.id, repo, username, issueid, form, repo_admin) }} + {% endif %} {% endfor %} {% endif %}