diff --git a/scipost/templates/scipost/personal_page.html b/scipost/templates/scipost/personal_page.html index 700f4e3966c9230e8953e490a1342e51a518fb2c..df6434f83530092e5f3ad28a0e65b77f61e91af5 100644 --- a/scipost/templates/scipost/personal_page.html +++ b/scipost/templates/scipost/personal_page.html @@ -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 %}