From 307515aacab0e64cf3009c073e30ca8d318f6d56 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Wed, 13 Jul 2016 15:43:23 +0200
Subject: [PATCH] Correct bug: editorial fellow cannot see report author for
 own submissions

---
 submissions/templates/submissions/submission_detail.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/submissions/templates/submissions/submission_detail.html b/submissions/templates/submissions/submission_detail.html
index 2d90758c7..5836d9018 100644
--- a/submissions/templates/submissions/submission_detail.html
+++ b/submissions/templates/submissions/submission_detail.html
@@ -86,7 +86,7 @@
   <div id="invitedreportslist">
     {% for report in invited_reports %}
     <hr class="hr6"/>
-    {% if user|is_in_group:'Editorial College' %}
+    {% if user|is_in_group:'Editorial College' and not is_author and not is_author_unchecked %}
     {% if report.flagged %}
     <h4 style="color: red">CAUTION: check if this referee has been flagged by the authors</h4>
     {% endif %}
-- 
GitLab