users: disable upgrading to platinum.

Disable the ability to upgrade to Platinum. The Platinum level still
exists, but users can no longer upgrade to it. Sales of Platinum are
being disabled in preparation of increasing the tag limit for Gold
users.
This commit is contained in:
evazion
2022-04-23 22:49:24 -05:00
parent 2b387bdc41
commit 1e4c0ffe78
9 changed files with 15 additions and 52 deletions

View File

@@ -5,7 +5,7 @@
<p>
<%= @message %>
<% if CurrentUser.is_platinum? %>
<% if CurrentUser.is_gold? %>
Try narrowing your search terms.
<% else %>
Try narrowing your search terms, or <%= link_to "upgrade your account", new_user_upgrade_path %> to go beyond page <%= CurrentUser.user.page_limit %>.

View File

@@ -42,9 +42,8 @@
<p>
Members are limited to searches that take up to 3 seconds long. You can
<%= link_to "upgrade your account", new_user_upgrade_path %> to increase
your search limit. Gold users can do searches that take up to 6 seconds
long, and Platinum users can go up to 9 seconds.
<%= link_to "upgrade to Gold", new_user_upgrade_path %> to increase
your search limit to 6 seconds long.
</p>
<% end %>

View File

@@ -5,7 +5,7 @@
<p>
<%= @message %>
<% unless CurrentUser.is_platinum? %>
<% unless CurrentUser.is_gold? %>
<%= link_to "Upgrade your account", new_user_upgrade_path %> to search for more tags at once.
<% end %>
</p>