Add Danbooru Winter Sale.

* 25% off Gold and Platinum accounts.
* Free 6 tag searches for Member-level users.
* Runs from midnight Dec. 25th to 28th (UTC time).
This commit is contained in:
evazion
2019-12-24 13:02:05 -06:00
parent ef2eb9d0f5
commit 963f1f7991
6 changed files with 56 additions and 5 deletions

View File

@@ -3,7 +3,17 @@
<h1>Upgrade Account</h1>
<% unless params[:user_id] %>
<p class="copy">Want more searching power? Upgrade your account and become a power user of the best database of anime artwork on the internet.</p>
<p class="copy">
Want more searching power? Upgrade your account and
become a power user of the best database of anime artwork on the
internet.
</p>
<% if Danbooru.config.is_promotion? %>
<p>
<h6>Danbooru Winter Sale! Gold and Platinum upgrades are 25% off from now until December 28th.</h6>
</p>
<% end %>
<div id="feature-comparison">
<table>
@@ -24,10 +34,16 @@
<td>Cost</td>
<td>Free</td>
<td>
<% if Danbooru.config.is_promotion? %>
<s>$20</s>
<% end %>
<%= cents_to_usd(UserUpgrade.gold_price) %>
<div class="fineprint">One time fee</div>
</td>
<td>
<% if Danbooru.config.is_promotion? %>
<s>$40</s>
<% end %>
<%= cents_to_usd(UserUpgrade.platinum_price) %>
<div class="fineprint">One time fee</div>
</td>