mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 00:09:41 +00:00
remove donate button from front page, fix #1617
This commit is contained in:
parent
6ee1b14e97
commit
f5777dc0d0
2 changed files with 6 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue