Remove Danbooru Winter Sale.

This commit is contained in:
evazion
2021-01-01 04:11:49 -06:00
parent 5b7894a8b2
commit 1d15ce2bcd
11 changed files with 3 additions and 61 deletions

View File

@@ -70,18 +70,6 @@
<div id="page">
<%= render "users/verification_notice" %>
<% if Danbooru.config.is_promotion? && cookies[:hide_final_promotion_notice].blank? %>
<div class="notice notice-info notice-large" id="promotion-notice">
<% file = %w[provgift.png kemogift.png padoru.gif ablobgift.gif].sample %>
<%= tag.img src: "/images/#{file}", width: 24, height: 24 %>
<%= link_to "Danbooru Winter Sale", forum_topic_path(17832) %> ends in
<%= Time.use_zone("UTC") { humanized_duration(Time.zone.parse("2021-01-01"), Time.zone.now, compact: true) } %>!
Get 25% off Gold &amp; Platinum
(<%= link_to "hide", "#", id: "hide-promotion-notice" %>)
</div>
<% end %>
<% if !CurrentUser.is_anonymous? && !CurrentUser.is_gold? && cookies[:hide_upgrade_account_notice].blank? && params[:action] != "upgrade_information" %>
<%= render "users/upgrade_notice" %>
<% end %>