From bf4b2e43cc59cfb60ace58e14f57a35098a865a3 Mon Sep 17 00:00:00 2001 From: Tom Fotherby Date: Fri, 5 Mar 2010 19:02:23 +0000 Subject: [PATCH] Changes needed because of new Blog at http://blog.diddydonation.com --- diddydonation.py | 14 +--------- templates/about.html | 34 ------------------------ templates/base.html | 6 +++-- templates/faq.html | 62 -------------------------------------------- 4 files changed, 5 insertions(+), 111 deletions(-) delete mode 100644 templates/about.html delete mode 100644 templates/faq.html diff --git a/diddydonation.py b/diddydonation.py index defc1a1..18856eb 100644 --- a/diddydonation.py +++ b/diddydonation.py @@ -167,16 +167,6 @@ def get(self): self.render('profile',template_values) -class FAQPage(BaseHandler): - def get(self): - self.render('faq',{}) - - -class AboutPage(BaseHandler): - def get(self): - self.render('about',{}) - - class CheckOutPage(BaseHandler): def get(self): @@ -215,7 +205,7 @@ def get(self): outtext += '

'+str(totvalue_list[k])+'p '+name_list[k]+'

' # TODO - Aggregate all donations to this Campaign and then allow user to add funds to their account #if totvalue_list[k] < min_donation: - outtext += '
Checkout closed - amount too low (more info)
' + outtext += '
Checkout closed - amount too low (learn more)
' #else: # outtext += ' Click here to lend your support to: TODO and make a donation at www.pledgie.com ! ' outtext += '
diff --git a/templates/faq.html b/templates/faq.html deleted file mode 100644 index cba048b..0000000 --- a/templates/faq.html +++ /dev/null @@ -1,62 +0,0 @@ -{% extends 'base.html' %} - -{% block title %}Diddydonation - Frequently Asked Questions{% endblock %} - -{% block content %} - - -

FAQ

- - -

What is this site?

-

-Diddydonation.com is specifically for really small donations (one penny, ) that you give to a webpage if you find it interesting, useful or fun. -

- - -

What is the point of such a small donation?

-

-

-

- - -

Why should I use diddydonation.com?

-

-

-

- - -

What does it mean when it says "amount too low" at the Checkout

-

-In order to make a real monetary donation to a webpage we need the total donation amount by everyone that used Diddydonation.com to reach a non-loss sum. -The current non-loss sum is £10 which is the amount we deem worth the effort of making the transaction and where bank/paypal fees doesn't have too large a impact. -Until this sum has been reached by the community, the checkout will say "amount too low". -

- - -

How do I give a larger donation?

-

-There are plenty of other donations websites that accept normal donations: -

-

- -{% endblock %}