Skip to content

Commit 5a14e17

Browse files
committed
Verbiage tweaks on new plans
1 parent 99cef12 commit 5a14e17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/controllers/subscriptions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def report_subscription_change_to_slack user, from, to
256256
notifier.ping [
257257
"#{delta} for #{user.email.split('@').first}@ (##{user.id})",
258258
"From: *#{from.name}* ($#{from.monthly_cents / 100}/month)",
259-
"To: *#{to.name}* ($#{to.monthly_cents / 100}/month)",
259+
"To: *#{to.name}* (#{to.stripe_plan_id}) ($#{to.monthly_cents / 100}/month)",
260260
"#{active_subscriptions.count} subscriptions total $#{'%.2f' % total_subs_monthly}/mo"
261261
].join("\n")
262262

app/views/subscriptions/new.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,8 @@
349349
action = line_item.amount < 0 ? 'prorated' : 'charged'
350350
if line_item.description.nil?
351351
description = [
352-
"one month of #{line_item.plan.name}, ",
353-
"from #{Time.at(line_item.period.start).strftime('%B %d')} ",
352+
"a #{line_item.plan.name} subscription ",
353+
"from #{Time.at(line_item.period.start).strftime('%B %d, %Y')} ",
354354
"to #{Time.at(line_item.period.end).strftime('%B %d, %Y')}"
355355
].join
356356
else

0 commit comments

Comments
 (0)