Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add gold to the footer (thanks gelob)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gelob authored and ketralnis committed Oct 20, 2010
1 parent ccedf29 commit c78f27b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions r2/r2/lib/menus.py
Expand Up @@ -101,6 +101,7 @@ def __getattr__(self, attr):
ad_inq = _("inquire about advertising"),
random = _('random'),
iphone = _("iPhone app"),
gold = _('gold'),

#preferences
options = _('options'),
Expand Down
7 changes: 5 additions & 2 deletions r2/r2/lib/pages/pages.py
Expand Up @@ -367,8 +367,11 @@ def cachable_attrs(self):
('buttons', [[(x.title, x.path) for x in y] for y in self.nav])]

def __init__(self):
self.nav = [NavMenu([OffsiteButton("mobile",
"/static/reddit_mobile/index.htm"),
self.nav = [NavMenu([
OffsiteButton(_("gold"), nocname=True,
dest = '/help/gold', css_class = "buygold"),
OffsiteButton("mobile",
"/static/reddit_mobile/index.htm"),
OffsiteButton("rss", dest = '/.rss'),
NamedButton("store", False, nocname=True),
NamedButton("awards", False, nocname=True),
Expand Down
1 change: 1 addition & 0 deletions r2/r2/public/static/css/reddit.css
Expand Up @@ -1366,6 +1366,7 @@ textarea.gray { color: gray; }
.status { margin-left: 5px; color: red; font-size: small;}
.error { color: red; font-size: small; margin: 5px; }
.red { color:red }
.buygold { color: #c59534; font-weight: bold; }
.line-through { text-decoration: line-through }

#noresults { margin-right: 310px; }
Expand Down

0 comments on commit c78f27b

Please sign in to comment.