From 4dcff8313f6ff539695ca792212af28df1e8bd21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org>
Date: Thu, 25 Nov 2021 08:41:49 +0100
Subject: [PATCH] Add info on previously-invited Fellows to rec prepare for
 voting

---
 .../admin/recommendation_prepare_for_voting.html       | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html b/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html
index a45180aa0..25b6520d2 100644
--- a/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html
+++ b/scipost_django/submissions/templates/submissions/admin/recommendation_prepare_for_voting.html
@@ -44,6 +44,16 @@
         {% endfor %}
       </ul>
     </div>
+    {% if recommendation.submission.editorial_assignments %}
+      <div class="col-md-3">
+	<p>Fellows who were originally sent an assignment request:</p>
+	<ul>
+	  {% for assignment in recommendation.submission.editorial_assignments.all %}
+	    <li>{{ assignment.to }} <small class="text-muted">({{ assignment.get_status_display }})</small></li>
+	  {% endfor %}
+	</ul>
+      </div>
+    {% endif %}
     {% if previously_eligible_for_voting %}
       <div class="col-md-3">
 	<p>Fellows who were eligible to vote in previous versions of this recommendation:</p>
-- 
GitLab