Fixes to contributions payment copy

This commit is contained in:
Juan José Mata
2026-01-22 19:22:55 +00:00
parent 667300398f
commit 7842b4a044
3 changed files with 4 additions and 4 deletions

View File

@@ -51,9 +51,9 @@ class SubscriptionsController < ApplicationController
if checkout_result.success?
Current.family.start_subscription!(checkout_result.subscription_id)
redirect_to root_path, notice: "Welcome to Sure! Your subscription has been created."
redirect_to root_path, notice: "Welcome to Sure! Your contribution is appreciated."
else
redirect_to root_path, alert: "Something went wrong processing your subscription. Please contact us to get this fixed."
redirect_to root_path, alert: "Something went wrong processing your contribution. Please try again."
end
end

View File

@@ -13,7 +13,7 @@
<div class="text-sm space-y-1">
<% if @family.has_active_subscription? %>
<p class="text-primary">
<span>Currently on the <span class="font-medium"><%= @family.subscription.name %></span>.</span>
<span>Currently on the <span class="font-medium"><%= @family.subscription.name %></span>.</span> <br />
<% if @family.next_payment_date %>
<span><%= t("views.settings.payments.renewal", date: l(@family.next_payment_date, format: :long)) %></span>