From 9bf0d64008b8acde540e97c916699e18dc561e55 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Tue, 22 May 2018 20:54:04 +0200
Subject: [PATCH] Add donate button to homepage

---
 scipost/templates/scipost/index.html | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/scipost/templates/scipost/index.html b/scipost/templates/scipost/index.html
index 92428f504..98873002d 100644
--- a/scipost/templates/scipost/index.html
+++ b/scipost/templates/scipost/index.html
@@ -138,6 +138,15 @@
 		<p>
 		  <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, Open Access officer, 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>Do you or somebody you know have the means to make a difference?
+		  <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
+<input type="hidden" name="cmd" value="_s-xclick">
+<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHVwYJKoZIhvcNAQcEoIIHSDCCB0QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYB2OJjAwbwlJroKco7FoLd++yE/7JAoQa6VWK+Vrp1MUu5/kBmCcOkQEPJ5cEOjq1ZKjGhRuYhTe+IR8T8aUMtCFULbcA9Ixi0PdbPp7Zt989RhsHV0CQ00HUYimqEdGeX0hwxahY+Yja8EMC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ate_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!">
+<img alt="" border="0" src="https://www.paypalobjects.com/nl_NL/i/scr/pixel.gif" width="1" height="1">
+		  </form>
+		</p>
             </div>
         </div>
     </div><!-- End Partners -->
-- 
GitLab