From 209cb147d775d50b41433ec34fdbd109b3ee4512 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 1 Mar 2021 14:41:26 +0100
Subject: [PATCH] Debug perms

---
 scipost/templates/scipost/EdCol_by-laws.html | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/scipost/templates/scipost/EdCol_by-laws.html b/scipost/templates/scipost/EdCol_by-laws.html
index ed9307067..6585c4e3e 100644
--- a/scipost/templates/scipost/EdCol_by-laws.html
+++ b/scipost/templates/scipost/EdCol_by-laws.html
@@ -46,7 +46,7 @@
                   For interdisciplinary submissions, the services of Fellows from distinct Colleges
                   can be called upon during the evaluation process.
                 </p>
-		{% if perms.can_view_pool %}
+		{% if perms.scipost.can_view_pool %}
 		<div class="bg-warning my-1 p-1">
 		  <h4>Proposed modification 1.1 (VGM 2021-01): add the following paragraph</h4>
 		  <p>
@@ -79,7 +79,7 @@
                   caring for a stated subject area shall be adjusted to ensure a workload per Fellow
                   limited to approximately one half-day per month on average.
                 </p>
-		{% if perms.can_view_pool %}
+		{% if perms.scipost.can_view_pool %}
 		<div class="bg-warning my-1 p-1">
 		  <h4>Proposed modification 1.3 (VGM 2021-01): rephrase to</h4>
 		  <p>
@@ -126,7 +126,7 @@
                   Foundation. Appointment to an Editorial College starts immediately upon receipt
                   of a positive answer from the candidate.
                 </p>
-		{% if perms.can_view_pool %}
+		{% if perms.scipost.can_view_pool %}
 		<div class="bg-warning my-1 p-1">
 		  <h4>Proposed modification 1.4.2 (VGM 2021-01): replace paragraph 1.4.2 and paragraph after by</h4>
 		  <p>
@@ -312,7 +312,7 @@
                   and a list of potential Editors-in-charge is preselected based on expertise and
                   availability.
                 </p>
-		{% if perms.can_view_pool %}
+		{% if perms.scipost.can_view_pool %}
 		<div class="bg-warning my-1 p-1">
 		  <h4>Proposed modification 3.2 (VGM 2021-01): add the following phrase</h4>
 		  <p>
@@ -358,7 +358,7 @@
                   given the option of either withdrawing their Submission,
                   or of accepting an extension to the duration of their Submission's pre-screening process.
                 </p>
-		{% if perms.can_view_pool %}
+		{% if perms.scipost.can_view_pool %}
 		<div class="bg-warning my-1 p-1">
 		  <h4>Proposed modification 3.3 (VGM 2021-01): change the last paragraph to</h4>
 		  <p>
@@ -534,7 +534,7 @@
 		    <p>
 		      A number of Fellows (depending on the Journal) is selected by Editorial Administration and specifically given voting rights on the recommendation. This selection is made to ensure sufficient expertise, enforce checks on impartiality and avoid conflicts of interest. Other qualified Fellows can claim voting rights on the recommendation if they so wish, by contacting Editorial Administration.
 		    </p>
-		    {% if perms.can_view_pool %}
+		    {% if perms.scipost.can_view_pool %}
 		    <div class="bg-warning my-1 p-1">
 		      <h4>Proposed modification 3.7 (VGM 2021-01): replace last paragraph by</h4>
 		      <p>
@@ -654,7 +654,7 @@
 		      </li>
 		    </ol>
                   </li>
-		  {% if perms.can_view_pool %}
+		  {% if perms.scipost.can_view_pool %}
 		  <div class="bg-warning my-1 p-1">
 		    <h4>Proposed modification 3.8 (VGM 2021-01): add this point, move Production to 3.9</h4>
 		    <ul>
-- 
GitLab