diff --git a/journals/templates/journals/SciPostPhysCodeb_about.html b/journals/templates/journals/SciPostPhysCodeb_about.html index 22c57d4f2e35b90a5a9d40804e29f08c9748a8e3..5c991fb1e729381f1bc6f7d739070dcfb174dee5 100644 --- a/journals/templates/journals/SciPostPhysCodeb_about.html +++ b/journals/templates/journals/SciPostPhysCodeb_about.html @@ -18,7 +18,7 @@ {% endwith %} -{% if perms.scipost.can_view_pool %} +{% if perms.scipost.can_attend_VGMs %} <div class="container border border-danger"> <span class="text-danger">DRAFT (POOLVIEW ONLY) - <a href="mailto:admin@scipost.org">COMMENTS WELCOME</a></span> diff --git a/journals/templates/journals/SciPostPhysComm_about.html b/journals/templates/journals/SciPostPhysComm_about.html index fd2a0daf0df2dd994f3c4e85a16c98429872cedf..64ee74023bb60543bcd7773f8ad41169efe42a13 100644 --- a/journals/templates/journals/SciPostPhysComm_about.html +++ b/journals/templates/journals/SciPostPhysComm_about.html @@ -18,7 +18,7 @@ {% endwith %} -{% if perms.scipost.can_view_pool %} +{% if perms.scipost.can_attend_VGMs %} <div class="container border border-danger"> <span class="text-danger">DRAFT (POOLVIEW ONLY) - <a href="mailto:admin@scipost.org">COMMENTS WELCOME</a></span> diff --git a/journals/templates/journals/SciPostPhys_about.html b/journals/templates/journals/SciPostPhys_about.html index 6952cb350a730f1489cb75d268c22c996801381a..00fffa51137ff52a5ec02411a2a7d8f5f9abc6e4 100644 --- a/journals/templates/journals/SciPostPhys_about.html +++ b/journals/templates/journals/SciPostPhys_about.html @@ -18,7 +18,7 @@ {% endwith %} -{% if perms.scipost.can_view_pool %} +{% if perms.scipost.can_attend_VGMs %} <div class="container border border-danger"> <span class="text-danger">DRAFT (POOLVIEW ONLY) - <a href="mailto:admin@scipost.org">COMMENTS WELCOME</a></span> diff --git a/journals/templates/journals/journals.html b/journals/templates/journals/journals.html index 36e2ab0eabd05be75af0e7597002405fb4acef4b..00ee9cfdd5e437421c31921acbfa79eedcf45e81 100644 --- a/journals/templates/journals/journals.html +++ b/journals/templates/journals/journals.html @@ -35,7 +35,7 @@ {% block content %} -{% if perms.scipost.can_view_pool %} +{% if perms.scipost.can_attend_VGMs %} <div class="container border border-danger"> <span class="text-danger">DRAFT (POOLVIEW ONLY) - <a href="mailto:admin@scipost.org">COMMENTS WELCOME</a></span> <h1 class="highlight">SciPost Journals</h1> diff --git a/scipost/templates/scipost/EdCol_by-laws.html b/scipost/templates/scipost/EdCol_by-laws.html index 3ffe0f4e11df3a3ed2c6e7a8ef20c6b1f865261d..bb1526af60b4acb1a7029c85f7f17575546a011d 100644 --- a/scipost/templates/scipost/EdCol_by-laws.html +++ b/scipost/templates/scipost/EdCol_by-laws.html @@ -19,7 +19,7 @@ -{% if perms.scipost.can_view_pool %} +{% if perms.scipost.can_attend_VGMs %} <div class="container border border-danger"> <span class="text-danger">DRAFT (POOLVIEW ONLY) - <a href="mailto:admin@scipost.org">COMMENTS WELCOME</a></span> diff --git a/scipost/urls.py b/scipost/urls.py index 35f70ff76005393fca04a6d113c488da6ff7a235..250f1309f18c906d99bf6d48f53a18401a7551eb 100644 --- a/scipost/urls.py +++ b/scipost/urls.py @@ -37,7 +37,7 @@ urlpatterns = [ ), url( r'^PlanSciPost$', - permission_required('scipost.can_view_pool')( + permission_required('scipost.can_attend_VGMs')( TemplateView.as_view(template_name='scipost/PlanSciPost.html')), name='PlanSciPost' ), diff --git a/submissions/templates/submissions/sub_and_ref_procedure.html b/submissions/templates/submissions/sub_and_ref_procedure.html index 5e5c1833b688ad9076c6782a98b60866a939ffb0..2928a8c120e086a5984ddb41807c55752b92f41e 100644 --- a/submissions/templates/submissions/sub_and_ref_procedure.html +++ b/submissions/templates/submissions/sub_and_ref_procedure.html @@ -21,7 +21,7 @@ </div> </div> -{% if perms.scipost.can_view_pool %} +{% if perms.scipost.can_attend_VGMs %} <div class="container border border-danger"> <span class="text-danger">DRAFT (POOLVIEW ONLY) - <a href="mailto:admin@scipost.org">COMMENTS WELCOME</a></span>