Files
astuto/app/views/layouts/_no_active_subscription_banner.html.erb
Riccardo Graziosi bea146e612 Add billing (#329)
2024-05-03 18:11:07 +02:00

7 lines
497 B
Plaintext

<div class="noActiveSubscriptionBanner">
<% if @tenant.tenant_billing.trial? %>
<span>Your trial has ended. Please <%= link_to 'subscribe', get_url_for(method(:request_billing_page_url)), data: {turbolinks: false} %> to continue using our services.</span>
<% else %>
<span>Your subscription has ended. Please <%= link_to 'renew your subscription', get_url_for(method(:request_billing_page_url)), data: {turbolinks: false} %> to continue using our services.</span>
<% end %>
</div>