Tutte le view marketing, legali, viewer, dashboard e admin usano t(); mailer utente-facing e flash localizzati; admin con LocaleResolver e selettore lingua. Co-authored-by: Cursor <cursoragent@cursor.com>
46 lines
2.7 KiB
ERB
46 lines
2.7 KiB
ERB
<% content_for :title, t("pages.pricing.meta_title") %>
|
|
<% content_for :meta_description, t("pages.pricing.meta_description") %>
|
|
<% content_for :canonical_url, seo_absolute_url(public_prezzi_path) %>
|
|
|
|
<div class="wrap" style="padding-top:24px">
|
|
<% if @club %>
|
|
<h1><%= t("pages.pricing.club_title") %></h1>
|
|
<% if @entitlements %>
|
|
<%= render "shared/club_subscription_status", club: @club, entitlements: @entitlements, subscription: @subscription %>
|
|
<% else %>
|
|
<p style="color:#aaa"><%= raw t(
|
|
"pages.pricing.club_info_html",
|
|
name: @club.name,
|
|
billing_link: link_to(t("pages.pricing.manage_subscription"), public_club_billing_path(@club))
|
|
) %></p>
|
|
<% end %>
|
|
<% else %>
|
|
<h1><%= t("pages.pricing.team_title") %></h1>
|
|
<p style="color:#aaa"><%= t("pages.pricing.team_lead") %></p>
|
|
<% end %>
|
|
<%= render "shared/stripe_secure_payment" %>
|
|
|
|
<%= render "shared/plan_cards" %>
|
|
|
|
<table class="compare-table">
|
|
<thead>
|
|
<tr><th></th><th>Free</th><th>Premium Light</th><th>Premium Full</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr><td><%= t("pages.pricing.table_staff") %></td><td>1</td><td>5</td><td><%= t("pages.pricing.table_unlimited") %></td></tr>
|
|
<tr><td><%= t("pages.pricing.table_matches") %></td><td>1</td><td>3</td><td>10</td></tr>
|
|
<tr><td><%= t("pages.pricing.table_live_mltv") %></td><td><%= t("pages.pricing.table_yes") %></td><td><%= t("pages.pricing.table_yes") %></td><td><%= t("pages.pricing.table_yes") %></td></tr>
|
|
<tr><td><%= t("pages.pricing.table_youtube") %></td><td><%= t("pages.pricing.table_no") %></td><td>Match Live TV</td><td><%= t("pages.pricing.table_youtube_club") %></td></tr>
|
|
<tr><td><%= t("pages.pricing.table_replay") %></td><td><%= t("pages.pricing.table_no") %></td><td><%= t("pages.plans.replay_days", count: 30) %></td><td><%= t("pages.plans.replay_days", count: 90) %></td></tr>
|
|
<tr><td><%= t("pages.pricing.table_download") %></td><td><%= t("pages.pricing.table_no") %></td><td><%= t("pages.pricing.table_yes") %></td><td><%= t("pages.pricing.table_yes") %></td></tr>
|
|
<tr><td><%= t("pages.pricing.table_price") %></td><td><%= t("pages.pricing.table_price_free") %></td><td><%= raw t("pages.pricing.table_price_light_html") %></td><td><%= raw t("pages.pricing.table_price_full_html") %></td></tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="card" style="margin-top:32px;text-align:center">
|
|
<h3 style="margin-top:0"><%= t("pages.pricing.different_title") %></h3>
|
|
<p style="color:#aaa;margin-bottom:16px"><%= t("pages.pricing.different_body") %></p>
|
|
<%= mail_to "info@matchlive.it", t("pages.pricing.contact_button"), class: "btn btn-primary" %>
|
|
</div>
|
|
</div>
|