From 5078ef8ad78b07be5a8dea55df2d01ed93ba4fb7 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Mon, 9 Dec 2024 16:09:29 +0100
Subject: [PATCH] show edadmin submission events in editorial page

---
 .../templates/submissions/pool/editorial_page.html          | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scipost_django/submissions/templates/submissions/pool/editorial_page.html b/scipost_django/submissions/templates/submissions/pool/editorial_page.html
index 966970b89..ce8a9cc5a 100644
--- a/scipost_django/submissions/templates/submissions/pool/editorial_page.html
+++ b/scipost_django/submissions/templates/submissions/pool/editorial_page.html
@@ -545,7 +545,11 @@ container border border-warning border-3
     {% endif %}
 
     <h2 class="mt-3" id="events">Events</h2>
-    {% include 'submissions/_submission_events.html' with events=submission.events.for_eic %}
+    {% if is_ed_admin %}
+	    {% include 'submissions/_submission_events.html' with events=submission.events.for_edadmin %}
+    {% else %}
+      {% include 'submissions/_submission_events.html' with events=submission.events.for_eic %}
+    {% endif %}
 
   {% endif %}
 
-- 
GitLab