Skip to content

Commit

Permalink
Changes needed because of new Blog at http://blog.diddydonation.com
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfotherby committed Mar 5, 2010
1 parent 8b13b72 commit bf4b2e4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 111 deletions.
14 changes: 1 addition & 13 deletions diddydonation.py
Expand Up @@ -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):
Expand Down Expand Up @@ -215,7 +205,7 @@ def get(self):
outtext += '<div class="campaignCheckout clearAfter"><h4><span class="amount">'+str(totvalue_list[k])+'p</span> '+name_list[k]+'<br></h4>'
# TODO - Aggregate all donations to this Campaign and then allow user to add funds to their account
#if totvalue_list[k] < min_donation:
outtext += '<div style="float:left;margin: 0 0 0 30px"><span class="showClosed">Checkout closed</span> - amount too low (<span class="moreInfo"><a href="/faq#amounttoolow">more info</a></span>)</div>'
outtext += '<div style="float:left;margin: 0 0 0 30px"><span class="showClosed">Checkout closed</span> - amount too low (<span class="moreInfo"><a href="http://blog.diddydonation.com/faq#amounttoolow">learn more</a></span>)</div>'
#else:
# outtext += ' <a href="http://www.pledgie.com/campaigns/'+pId+'"><img width=149 height=37 alt="Click here to lend your support to: TODO and make a donation at www.pledgie.com !" src="http://www.pledgie.com/campaigns/'+pId+'.png?skin_name=chrome" border="0" /></a> '
outtext += ' <div class="campaignLinks">'
Expand Down Expand Up @@ -402,8 +392,6 @@ def get(self):
[('/', MainPage),
('/bookmarklet',GetBookmarkletPage),
('/profile',ProfilePage),
('/about',AboutPage),
('/faq',FAQPage),
('/donate',Donate),
('/undo',UndoDonation),
('/delete',DeleteDonations),
Expand Down
34 changes: 0 additions & 34 deletions templates/about.html

This file was deleted.

6 changes: 4 additions & 2 deletions templates/base.html
Expand Up @@ -43,8 +43,10 @@ <h1 style="margin-bottom:0;"><a href="/" style="text-decoration:none;">Diddy Don
</div>

<div id="footer" class="subtle smaller">
<a href="/faq">FAQ</a>
<a href="/about">About</a>
<a href="/">Home</a>
<a href="http://blog.diddydonation.com/faq">FAQ</a>
<a href="http://blog.diddydonation.com/about">About</a>
<a href="http://blog.diddydonation.com">Blog</a>
</div>

</div>
Expand Down
62 changes: 0 additions & 62 deletions templates/faq.html

This file was deleted.

0 comments on commit bf4b2e4

Please sign in to comment.