From 14f75e6ca7f3e335dae2ec50c184b48d5d3bf69e Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Wed, 17 Apr 2024 14:44:16 +0200
Subject: [PATCH] hide fellow workload table header for non-edadmin

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

diff --git a/scipost_django/submissions/templates/submissions/pool/_submission_fellows.html b/scipost_django/submissions/templates/submissions/pool/_submission_fellows.html
index e220f0b7c..b5d0d5658 100644
--- a/scipost_django/submissions/templates/submissions/pool/_submission_fellows.html
+++ b/scipost_django/submissions/templates/submissions/pool/_submission_fellows.html
@@ -27,7 +27,11 @@
         <br />
         available
       </th>
-      <th>Workload</th>
+      {% if "edadmin" in user_roles or "active_senior_fellow" in user_roles %}
+        <th>
+          {% include "icons/reception.html" with value=fellowship.contributor.editorial_assignments.ongoing.count max=4 %}
+        </th>
+      {% endif %}
       <th>Qualification</th>
       <th>Readiness to take charge</th>
 
-- 
GitLab