From b46f0d64c237fc9b06643c0872fc48d67c53807a Mon Sep 17 00:00:00 2001 From: Jesse Grant Date: Mon, 14 Jan 2013 16:54:43 -0500 Subject: [PATCH] Made a small change to make some wording configuration more flexible --- app/views/preorder/share.html.erb | 2 +- config/settings.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/preorder/share.html.erb b/app/views/preorder/share.html.erb index aea025a..b49404c 100644 --- a/app/views/preorder/share.html.erb +++ b/app/views/preorder/share.html.erb @@ -1,7 +1,7 @@

- Hooray! You've just reserved a <%= Settings.product_name %>! + Hooray! You've just reserved <%= Settings.product_description %>!

Congratulations, you're <%= Settings.primary_stat_verb %> number <%= number_with_delimiter @order.number, :delimiter => "," %>, in supporting <%= Settings.product_name %>. Share the great news!


diff --git a/config/settings.yml b/config/settings.yml index f35bcf5..c76cdbe 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -14,6 +14,9 @@ project_goal: 100000 # This'll be both the page title () and the name in the header product_name: "Selfstarter" +# This will be used in sentences like "Hooray! You've just reserved <%= Settings.product_description %>!" +product_description: "a set of widgets" + # An image showcasing your product -- it'll show up when you pin your product # It should be in app/assets/images product_image_path: "my-product-image.png" @@ -48,6 +51,7 @@ payment_description: "You really should change this text because people will see # Amazon limits how much we can charge people with their Multi-Use tokens. # You probably should add some leeway to account for international shipping +# this value will be added to the price to create a charge limit charge_limit: 25.00 # Stats settings