- {#if @header}
-
- {/}
-
{@content}
- {{#if @footer}}
-
- {{/}}
-
diff --git a/views/shared/modals/index.jade b/views/shared/modals/index.jade
index d05cc06d08..64152d36c4 100644
--- a/views/shared/modals/index.jade
+++ b/views/shared/modals/index.jade
@@ -2,4 +2,6 @@ include ./achievements
include ./login
include ./reroll
include ./death
-include ./new-stuff
\ No newline at end of file
+include ./new-stuff
+include ./why-ads
+include ./more-gems
\ No newline at end of file
diff --git a/views/shared/modals/more-gems.jade b/views/shared/modals/more-gems.jade
new file mode 100644
index 0000000000..b33d4dd87f
--- /dev/null
+++ b/views/shared/modals/more-gems.jade
@@ -0,0 +1,10 @@
+div(modal='modals.moreGems', header='Out Of Gems')
+ .modal-header
+ h3 Out Of Gems
+ .modal-body
+ include ../gems
+ p.
+ Oops, out of Gems, which are used to buy special items! Habit is an open source project, and can use all the help
+ it can get - buy more Gems to receive this pet, and consider it a donation to the contributors.
+ .modal-footer
+ button.btn.btn-default.cancel(ng-click='modals.moreGems = false') Cancel
\ No newline at end of file
diff --git a/views/shared/modals/why-ads.jade b/views/shared/modals/why-ads.jade
new file mode 100644
index 0000000000..4a73196cf6
--- /dev/null
+++ b/views/shared/modals/why-ads.jade
@@ -0,0 +1,11 @@
+div(modal='modals.whyAds')
+ .modal-header
+ h3 Why Ads?
+ .modal-body
+ p.
+ Habit is an open source project, and can use all the help it can get - consider this a donation to the contributors. You also get 20 Gems from the purchase, which you can use to buy special items.
+ p
+ | "Hey, I backed the Kickstarter!" - follow
+ a(target='_blank', href='http://community.habitrpg.com/node/22') these instructions.
+ .modal-footer
+ button.btn.btn-default.cancel(ng-click='modals.whyAds = false') Ok
\ No newline at end of file
diff --git a/views/tasks/ads.jade b/views/tasks/ads.jade
index 9c5e1fad59..09111764a0 100644
--- a/views/tasks/ads.jade
+++ b/views/tasks/ads.jade
@@ -1,9 +1,9 @@
div(ng-if='authenticated() && user.flags.ads!="hide"')
- span.pull-right
+ span.pull-right(ng-if='list.type!="reward"')
a(x-bind='click:showStripe', tooltip='Remove Ads')
i.icon-remove
br
- a(href='#', data-target='#why-ads-modal', data-toggle='modal', tooltip='Why Ads?')
+ a(ng-click='modals.whyAds=true', tooltip='Why Ads?')
i.icon-question-sign
div(ng-if='list.type=="habit"', habitrpg-adsense)