SciPost Code Repository

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

Improve SPB campaign

parent e9a59896
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
</form> </form>
{% else %} {% else %}
<h3>Thank you for signing this petition!</h3> <h3>Thank you for signing this petition!</h3>
<p>Please invite your colleagues to also sign.</p>
{% endif %} {% endif %}
</div> </div>
......
[PLEASE FILL IN THE TO FIELD ABOVE (keeping partners@scipost.org in cc)]%0D%0A
%0D%0A
Dear ...%0D%0A Dear ...%0D%0A
%0D%0A %0D%0A
[PLEASE WRITE A PERSONALIZED MESSAGE]%0D%0A [PLEASE WRITE A PERSONALIZED MESSAGE]%0D%0A
......
...@@ -32,7 +32,8 @@ def petition(request, slug): ...@@ -32,7 +32,8 @@ def petition(request, slug):
if form.is_valid(): if form.is_valid():
signature = form.save(commit=False) signature = form.save(commit=False)
signature.petition = petition signature.petition = petition
message = '<h3>Many thanks for signing!</h3>' message = ('<h3>Many thanks for signing!</h3>'
'<p>Please invite your colleagues to also sign.</p>')
if request.user.is_authenticated: if request.user.is_authenticated:
signature.signatory = request.user.contributor signature.signatory = request.user.contributor
signature.verified = True signature.verified = True
...@@ -91,5 +92,6 @@ def verify_signature(request, slug, key): ...@@ -91,5 +92,6 @@ def verify_signature(request, slug, key):
# Slight reduction of db write-use # Slight reduction of db write-use
signature.verified = True signature.verified = True
signature.save() signature.save()
messages.success(request, ('<h3>Many thanks, your signature has been verified.</h3>')) messages.success(request, ('<h3>Many thanks for confirming your signature.</h3>'
'<p>Please invite your colleagues to also sign.</p>'))
return redirect(petition.get_absolute_url()) return redirect(petition.get_absolute_url())
...@@ -120,13 +120,13 @@ ...@@ -120,13 +120,13 @@
<div> <div>
<p> <p>
SciPost guarantees free online access to all publications in all its Journals and does not charge any article processing fees for publishing. Supporting Partners provide operating funds to SciPost. SciPost guarantees free online access to all publications in all its Journals and does not charge any article processing fees for publishing. Supporting Partners provide operating funds to SciPost through a cost-slashing consortial model.
</p> </p>
<p> <p>
Institutions: consider joining our <a href="{% url 'partners:partners' %}">Supporting Partners Board</a>. SciPost cannot exist without your support. Look at our <a href="{% static 'scipost/SPB/SciPost_Supporting_Partners_Board_Prospectus.pdf' %}">one-page Prospectus</a> and at our full <a href="{% static 'scipost/SPB/SciPost_Supporting_Partner_Agreement.pdf' %}">Partner Agreement</a>. Institutions: consider joining our <a href="{% url 'partners:partners' %}">Supporting Partners Board</a>. SciPost cannot exist without your support. Look at our <a href="{% static 'scipost/SPB/SciPost_Supporting_Partners_Board_Prospectus.pdf' %}">one-page Prospectus</a> and at our full <a href="{% static 'scipost/SPB/SciPost_Supporting_Partner_Agreement.pdf' %}">Partner Agreement</a>.
</p> </p>
<p> <p>
Scientists: if it is not listed on our <a href="{% url 'partners:partners' %}">Partners page</a>, please encourage your institution (through a librarian, director, ...) to join by <a href="{% url 'petitions:petition' slug='join-SPB' %}">signing our petition</a>, and by personally emailing them directly using this <a href="mailto:?subject=Petition to support SciPost&body={% autoescape on %}{% include 'petitions/petition_email.html' %}{% endautoescape %}&cc=partners@scipost.org">email template</a>. <span style="color: red;">Scientists, please help us out:</span> if it is not listed on our <a href="{% url 'partners:partners' %}">Partners page</a>, please encourage your institution (through a librarian, director, ...) to join by <a href="{% url 'petitions:petition' slug='join-SPB' %}">signing our petition</a>, and by personally emailing them directly using this <a href="mailto:?subject=Petition to support SciPost&body={% autoescape on %}{% include 'petitions/petition_email.html' %}{% endautoescape %}&cc=partners@scipost.org">email template</a>.
</p> </p>
</div> </div>
</div> </div>
......
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