Update Winter Sale banner for last day.

This commit is contained in:
evazion
2020-12-31 06:34:51 -06:00
parent d9a8fc99bc
commit 83d6cd5980
4 changed files with 18 additions and 17 deletions

View File

@@ -19,7 +19,11 @@
<h1>Upgrade Account</h1>
<% if Danbooru.config.is_promotion? %>
<p><b>Danbooru Winter Sale! Gold and Platinum upgrades are 25% off from now until January 1st.</b></p>
<p>
<%= tag.img src: "/images/padoru.gif", width: 24, height: 24 %>
<b>Danbooru Winter Sale! Gold and Platinum upgrades are 25% off. Sale ends in <%= Time.use_zone("UTC") { humanized_duration(Time.zone.parse("2021-01-01"), Time.zone.now, compact: true) } %>.</b>
<%= tag.img src: "/images/padoru.gif", width: 24, height: 24 %>
</p>
<% end %>
<p>Upgrading your account gives you exclusive benefits and helps support