From 32d77d57eca7949f768f4e5b7dbca2631f906633 Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 9 May 2022 13:35:31 -0500 Subject: [PATCH] upgrades: update upgrade page text. --- app/views/user_upgrades/new.html.erb | 45 +- public/images/american-express-logo.svg | 14 + public/images/discover-logo.svg | 25 + public/images/mastercard-logo.svg | 49 ++ public/images/visa-logo.svg | 647 ++++++++++++++++++++++++ 5 files changed, 762 insertions(+), 18 deletions(-) create mode 100644 public/images/american-express-logo.svg create mode 100644 public/images/discover-logo.svg create mode 100644 public/images/mastercard-logo.svg create mode 100644 public/images/visa-logo.svg diff --git a/app/views/user_upgrades/new.html.erb b/app/views/user_upgrades/new.html.erb index cdda6f629..60e7f77ee 100644 --- a/app/views/user_upgrades/new.html.erb +++ b/app/views/user_upgrades/new.html.erb @@ -23,8 +23,8 @@ <%= Danbooru.config.canonical_app_name %>. Your support helps keep the site ad-free for everyone!

-

You can also gift an account upgrade to someone else. Just go to - their profile page and look for a "Gift Upgrade" link.

+

<%= Danbooru.config.canonical_app_name %> Gold is a lifetime upgrade, + not a subscription. You pay only once and keep the upgrade forever!

Notice: Gold upgrades are temporarily disabled while we change our payment system.

<% end %> @@ -56,7 +56,7 @@ <% if Danbooru.config.is_promotion? %> $20 <% end %> - <%= cents_to_usd(UserUpgrade.gold_price) %> + <%= cents_to_usd(UserUpgrade.gold_price) %>
One time fee
@@ -70,11 +70,6 @@ <%= User.page_limit(User::Levels::MEMBER) %> <%= User.page_limit(User::Levels::GOLD) %> - - See Hidden Tags - No - Yes - Private Favorites No @@ -100,12 +95,17 @@ <% if @user_upgrade.purchaser.is_anonymous? %> <%= link_to "Login", login_path(url: new_user_upgrade_path), class: "login-button button-primary" %> <%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %> - <% elsif @recipient.level == User::Levels::MEMBER %> + <% else %> - <%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %> - <% else %> - - <%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %> + +
+ <%= image_pack_tag("static/mastercard-logo.svg", width: 28, class: "icon") %> + <%= image_pack_tag("static/visa-logo.svg", width: 28, class: "icon") %> + <%= image_pack_tag("static/discover-logo.svg", width: 28, class: "icon") %> +
+ + <%= button_to "Get #{Danbooru.config.canonical_app_name} Gold", nil, class: "button-primary", disabled: true %> + <% end %> @@ -135,7 +135,7 @@
What is the page limit? -

Normal users can only browse up to page 1000. Gold users can browse up to page 5000.

+

Normal users can only browse posts up to page 1000. Gold users can browse posts up to page 5000.

@@ -169,6 +169,12 @@ seconds long. This means Gold users can do more complicated tag searches.

+
+ Can I gift an upgrade to someone else? + +

Sure. Just go to their profile page and look for the "Gift Upgrade" link.

+
+
What payment methods do you support? @@ -178,15 +184,18 @@
Is this a subscription? -

No, this is not a subscription. This is a one-time payment. You pay - only once and keep the upgrade forever.

+

No, this is not a subscription. This is a one-time payment only. You pay only once and keep the upgrade forever.

What is your refund policy? -

You can <%= link_to "contact us", contact_path %> to request a refund - for any reason within 48 hours of your purchase.

+

You can request a refund for any reason within 48 hours of your purchase. To request a refund, + <%= link_to "contact us", contact_path %> or send an email to <%= link_to Danbooru.config.contact_email, "mailto:#{Danbooru.config.contact_email}" %>. + Please include your username in your request.

+ +

Refund requests will be responded to within 1 business day. Please note that it may take up to 10 business days for refunds + to be processed by your bank or credit card company.

diff --git a/public/images/american-express-logo.svg b/public/images/american-express-logo.svg new file mode 100644 index 000000000..4e9aa5334 --- /dev/null +++ b/public/images/american-express-logo.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/discover-logo.svg b/public/images/discover-logo.svg new file mode 100644 index 000000000..97378fa16 --- /dev/null +++ b/public/images/discover-logo.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/mastercard-logo.svg b/public/images/mastercard-logo.svg new file mode 100644 index 000000000..1af101a27 --- /dev/null +++ b/public/images/mastercard-logo.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/visa-logo.svg b/public/images/visa-logo.svg new file mode 100644 index 000000000..28c5c6603 --- /dev/null +++ b/public/images/visa-logo.svg @@ -0,0 +1,647 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file