SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit f9faf080 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Remove petition banner if signed

parent fb6ada6c
No related branches found
No related tags found
No related merge requests found
......@@ -119,10 +119,12 @@
{# END: Scientist fields #}
{% endif %}
<div class="border border-danger p-2">
<h3 class="text-danger">Scientists, please help us out!</h3>
<p class="mb-1">If it is not listed on our Partners page, please encourage your institution (through a librarian, director, ...) to join by <a class="h3 text-blue" href="{% url 'petitions:petition' slug='join-SPB' %}">signing our petition</a>.</p>
</div>
{% if not request.user.contributor.petition_signatories.exists %}
<div class="border border-danger p-2">
<h3 class="text-danger">Scientists, please help us out!</h3>
<p class="mb-1">If it is not listed on our Partners page, please encourage your institution (through a librarian, director, ...) to join by <a class="h3 text-blue" href="{% url 'petitions:petition' slug='join-SPB' %}">signing our petition</a>.</p>
</div>
{% endif %}
<hr>
{% if 'SciPost Administrators' in user_groups %}
......
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