From df27905a5cc184bb0b879601fff95ee33ad86dee Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Wed, 18 Oct 2017 02:54:42 +0300 Subject: [PATCH] update 1GB -> 10GB references I missed --- app/views/layouts/_sidebar.html.erb | 2 +- app/views/main/for_designers.html.erb | 5 ++--- app/views/main/for_friends.html.erb | 2 +- app/views/main/for_roleplayers.html.erb | 4 ++-- app/views/main/for_writers.html.erb | 6 +++--- lib/tasks/data_migrations.rake | 6 +++--- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/app/views/layouts/_sidebar.html.erb b/app/views/layouts/_sidebar.html.erb index 302398e3..f1579327 100644 --- a/app/views/layouts/_sidebar.html.erb +++ b/app/views/layouts/_sidebar.html.erb @@ -31,7 +31,7 @@ You can upload images to any content from the "Gallery" tab while editing it.

- Free users have 50MB of space, and premium users have a whopping 1GB. + Free users have 50MB of space, and premium users have a whopping 10GB. <% if current_user && current_user.selected_billing_plan_id == BillingPlan.find_by(stripe_plan_id: 'free-for-life').id %> Because you were here at Notebook.ai's launch, we've quintupled your space from 50MB to 250MB. Thank you! <% end %> diff --git a/app/views/main/for_designers.html.erb b/app/views/main/for_designers.html.erb index 3a09fc4e..ad612d4f 100644 --- a/app/views/main/for_designers.html.erb +++ b/app/views/main/for_designers.html.erb @@ -220,7 +220,7 @@ body {

Free users start with 50MB of storage space that can be used to upload any size of image. Premium users are boosted an additional - 1GB of storage space. You can delete any image at any time to reclaim and reuse its space. + 10GB of storage space. You can delete any image at any time to reclaim and reuse its space.

Tip: Uploading images is a great way to save the maps of your world. They're highlighted at the top of their Location page, @@ -368,7 +368,7 @@ body {

Premium memberships are $9.00, billed monthly, and allow you to create unlimited amounts of any type of content. - Additionally, a Premium subscription also increases your image upload storage from 50MB to 1GB. + Additionally, a Premium subscription also increases your image upload storage from 50MB to 10GB.

@@ -643,4 +643,3 @@ body {
- diff --git a/app/views/main/for_friends.html.erb b/app/views/main/for_friends.html.erb index d4618288..a3e8571b 100644 --- a/app/views/main/for_friends.html.erb +++ b/app/views/main/for_friends.html.erb @@ -125,7 +125,7 @@ A huge thank you to everyone that participated in the community drive!

- Our raffle winner has been notified (check your email!) and we've added 1GB of storage space to all Premium user accounts + Our raffle winner has been notified (check your email!) and we've added 10GB of storage space to all Premium user accounts from now until forever as a thank you.

diff --git a/app/views/main/for_roleplayers.html.erb b/app/views/main/for_roleplayers.html.erb index 26eced51..ac7c7953 100644 --- a/app/views/main/for_roleplayers.html.erb +++ b/app/views/main/for_roleplayers.html.erb @@ -217,7 +217,7 @@ body {

Free users start with 50MB of storage space that can be used to upload any size of image. Premium users are boosted an additional - 1GB of storage space. You can delete any image at any time to reclaim and reuse its space. + 10GB of storage space. You can delete any image at any time to reclaim and reuse its space.

Tip: Uploading images is a great way to save the maps of your world. They're highlighted at the top of their Location page, @@ -373,7 +373,7 @@ body {

Premium memberships are $9.00, billed monthly, and allow you to create unlimited amounts of any type of content. - Additionally, a Premium subscription also increases your image upload storage from 50MB to 1GB. + Additionally, a Premium subscription also increases your image upload storage from 50MB to 10GB.

diff --git a/app/views/main/for_writers.html.erb b/app/views/main/for_writers.html.erb index ee7e7f40..f29ec061 100644 --- a/app/views/main/for_writers.html.erb +++ b/app/views/main/for_writers.html.erb @@ -213,7 +213,7 @@ body {

Free users start with 50MB of storage space that can be used to upload any size of image. Premium users are boosted an additional - 1GB of storage space. You can delete any image at any time to reclaim and reuse its space. + 10GB of storage space. You can delete any image at any time to reclaim and reuse its space.

Tip: Uploading images is a great way to save the maps of your world. They're highlighted at the top of their Location page, @@ -371,7 +371,7 @@ body {

Premium memberships are $9.00, billed monthly, and allow you to create unlimited amounts of any type of content. - Additionally, a Premium subscription also increases your image upload storage from 50MB to 1GB. + Additionally, a Premium subscription also increases your image upload storage from 50MB to 10GB.

@@ -481,7 +481,7 @@ body { Upload images Up to 50MB - - Up to 1GB + Up to 10GB Price diff --git a/lib/tasks/data_migrations.rake b/lib/tasks/data_migrations.rake index 8de590b4..ce45db8e 100644 --- a/lib/tasks/data_migrations.rake +++ b/lib/tasks/data_migrations.rake @@ -56,8 +56,8 @@ namespace :data_migrations do ] # Premium - puts "Setting premium users to 1GB" - puts User.where(selected_billing_plan_id: premium_ids).update_all(upload_bandwidth_kb: 1_000_000) # 1GB + puts "Setting premium users to 10GB" + puts User.where(selected_billing_plan_id: premium_ids).update_all(upload_bandwidth_kb: 10_000_000) # 10GB # Starter puts "Setting starter users to 50MB" @@ -68,4 +68,4 @@ namespace :data_migrations do puts "Setting beta users to 250MB" puts User.where(selected_billing_plan_id: beta_id).update_all(upload_bandwidth_kb: 250_000) # 250MB end -end \ No newline at end of file +end