remove donate button from front page, fix #1617

This commit is contained in:
Matteo Pagliazzi 2013-10-28 21:31:44 +01:00
parent 6ee1b14e97
commit f5777dc0d0
2 changed files with 6 additions and 5 deletions

View file

@ -26,7 +26,7 @@ router.get('/splash.html', function(req, res) {
});
router.get('/static/front', function(req, res) {
res.render('static/front', {env: res.locals.habitrpg});
res.render('static/front', {env: res.locals.habitrpg, isFrontPage: true});
});
router.get('/static/about', function(req, res) {

View file

@ -11,10 +11,11 @@ footer.footer(ng-controller='FooterCtrl')
.span3
h4 Company
ul.unstyled
li
.btn.btn-small.btn-success(ng-click='modals.buyGems = true')
i.icon-heart.icon-white
| Donate
if (!isFrontPage)
li
.btn.btn-small.btn-success(ng-click='modals.buyGems = true')
i.icon-heart.icon-white
| Donate
li
a(href='/static/about') About
li