SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 670f72d7 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Change temporary permission to can_attend_VGMs

parent 7bc4476b
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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'
),
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment