mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 13:19:39 +02:00
Update billing settings view and locales
This commit is contained in:
parent
f363fd4a4e
commit
ed55ef624b
2 changed files with 4 additions and 5 deletions
|
@ -11,7 +11,6 @@
|
||||||
<div class="text-sm space-y-1">
|
<div class="text-sm space-y-1">
|
||||||
<% if @user.family.subscribed? || subscription_pending? %>
|
<% if @user.family.subscribed? || subscription_pending? %>
|
||||||
<p class="text-primary">You are currently subscribed to <span class="font-medium">Maybe+</span></p>
|
<p class="text-primary">You are currently subscribed to <span class="font-medium">Maybe+</span></p>
|
||||||
<p class="text-secondary">Manage your billing settings here.</p>
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<p class="text-primary">You are currently <span class="font-medium">not subscribed</span></p>
|
<p class="text-primary">You are currently <span class="font-medium">not subscribed</span></p>
|
||||||
<p class="text-secondary">Once you subscribe to Maybe+, you'll see your billing settings here.</p>
|
<p class="text-secondary">Once you subscribe to Maybe+, you'll see your billing settings here.</p>
|
||||||
|
@ -20,12 +19,12 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if @user.family.subscribed? || subscription_pending? %>
|
<% 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 %>
|
||||||
<span>Manage</span>
|
<span>Manage</span>
|
||||||
<%= lucide_icon "external-link", class: "w-5 h-5 shrink-0 text-secondary" %>
|
<%= lucide_icon "external-link", class: "w-5 h-5 shrink-0 text-secondary" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% 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 %>
|
||||||
<span>Subscribe</span>
|
<span>Subscribe</span>
|
||||||
<%= lucide_icon "external-link", class: "w-5 h-5 shrink-0 text-secondary" %>
|
<%= lucide_icon "external-link", class: "w-5 h-5 shrink-0 text-secondary" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -34,7 +33,7 @@
|
||||||
|
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<%= image_tag "stripe-logo.svg", class: "w-5 h-5 shrink-0" %>
|
<%= image_tag "stripe-logo.svg", class: "w-5 h-5 shrink-0" %>
|
||||||
<p class="text-secondary text-sm">Managed via Stripe</p>
|
<p class="text-secondary text-sm">Billing via Stripe</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -4,7 +4,7 @@ en:
|
||||||
billings:
|
billings:
|
||||||
show:
|
show:
|
||||||
page_title: Billing
|
page_title: Billing
|
||||||
subscription_subtitle: Manage your subscription and billing details
|
subscription_subtitle: Update your subscription and billing details
|
||||||
subscription_title: Manage subscription
|
subscription_title: Manage subscription
|
||||||
preferences:
|
preferences:
|
||||||
data_enrichment_settings:
|
data_enrichment_settings:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue