summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-11-04 16:58:42 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2019-03-10 01:08:40 -0500
commit41481a8d8bc587eb2bcf6fe95508f47a1a2cd811 (patch)
tree03f83057d410a504e1108e913e911d58a5bbae88
parentc6aaacb1085ca561d2836af8208badb7ccd62576 (diff)
add paypal donate button
-rw-r--r--Makefile4
-rw-r--r--templates/public/index.html7
2 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3b4bef11..b6aaf95b 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,7 @@ targets = \
$(branding-images) \
sitestatic/rss.png \
sitestatic/rss@2x.png \
+ sitestatic/paypal-donate.gif \
sitestatic/bootstrap-typeahead.js \
sitestatic/homepage.js \
sitestatic/jquery-$(jquery-ver).min.js \
@@ -108,6 +109,9 @@ sitestatic/rss.png: $(dl-cache)/unzip/Feedicons_v.2/RSS_16.png
sitestatic/rss@2x.png: $(dl-cache)/unzip/Feedicons_v.2/RSS_32.png
pngcrush $< $@
+sitestatic/paypal-donate.gif: $(www)/https/www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif
+ cp $< $@
+
$(dl-cache)/unzip/parabola-artwork: $(www)/git/projects.parabola.nu/artwork.git\#branch=official/2013 | $(dl-cache)/unzip
cp -rT '$<' '$@'
make -C '$@'
diff --git a/templates/public/index.html b/templates/public/index.html
index 956253df..ac882c45 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -185,10 +185,13 @@
</ul>
</div>
-{% comment %}
<div id="home-donate-button" class="widget">
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8WJTKB86BR7MA">
+ <img src="{% static "paypal-donate.gif" %}"
+ alt="Donate via PayPal - The safer, easier way to pay online!"
+ title="Donate via PayPal - The safer, easier way to pay online!" />
+ </a>
</div>
-{% endcomment %}
<div id="arch-sponsors" class="widget">
<a href="https://ceata.org">