From ed55ef624bcc60de58469b587df6911c5fdcd60b Mon Sep 17 00:00:00 2001 From: Josh Pigford Date: Tue, 11 Mar 2025 13:00:34 -0500 Subject: [PATCH] Update billing settings view and locales --- app/views/settings/billings/show.html.erb | 7 +++---- config/locales/views/settings/en.yml | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/settings/billings/show.html.erb b/app/views/settings/billings/show.html.erb index ddf53db0..cd284f83 100644 --- a/app/views/settings/billings/show.html.erb +++ b/app/views/settings/billings/show.html.erb @@ -11,7 +11,6 @@
<% if @user.family.subscribed? || subscription_pending? %>

You are currently subscribed to Maybe+

-

Manage your billing settings here.

<% else %>

You are currently not subscribed

Once you subscribe to Maybe+, you'll see your billing settings here.

@@ -20,12 +19,12 @@
<% if @user.family.subscribed? || subscription_pending? %> - <%= link_to subscription_path, class: "btn btn--secondary flex items-center gap-1" do %> + <%= link_to subscription_path, class: "btn btn--secondary flex items-center gap-1", target: "_blank", rel: "noopener" do %> Manage <%= lucide_icon "external-link", class: "w-5 h-5 shrink-0 text-secondary" %> <% end %> <% else %> - <%= link_to new_subscription_path, class: "btn btn--secondary flex items-center gap-1" do %> + <%= link_to new_subscription_path, class: "btn btn--secondary flex items-center gap-1", target: "_blank", rel: "noopener" do %> Subscribe <%= lucide_icon "external-link", class: "w-5 h-5 shrink-0 text-secondary" %> <% end %> @@ -34,7 +33,7 @@
<%= image_tag "stripe-logo.svg", class: "w-5 h-5 shrink-0" %> -

Managed via Stripe

+

Billing via Stripe

<% end %> diff --git a/config/locales/views/settings/en.yml b/config/locales/views/settings/en.yml index 8bc0dbf0..35c10f9b 100644 --- a/config/locales/views/settings/en.yml +++ b/config/locales/views/settings/en.yml @@ -4,7 +4,7 @@ en: billings: show: page_title: Billing - subscription_subtitle: Manage your subscription and billing details + subscription_subtitle: Update your subscription and billing details subscription_title: Manage subscription preferences: data_enrichment_settings: