|
|
|
|
@ -273,7 +273,6 @@ defmodule PlausibleWeb.Components.Billing do
|
|
|
|
|
}
|
|
|
|
|
id="#upgrade-or-change-plan-link"
|
|
|
|
|
href={Routes.billing_path(PlausibleWeb.Endpoint, :choose_plan)}
|
|
|
|
|
class="text-sm font-medium"
|
|
|
|
|
>
|
|
|
|
|
<%= change_plan_or_upgrade_text(@subscription) %>
|
|
|
|
|
</.styled_link>
|
|
|
|
|
@ -296,7 +295,6 @@ defmodule PlausibleWeb.Components.Billing do
|
|
|
|
|
<.styled_link
|
|
|
|
|
:if={Subscription.Status.active?(@subscription)}
|
|
|
|
|
href={Routes.billing_path(PlausibleWeb.Endpoint, :change_plan_form)}
|
|
|
|
|
class="text-sm font-medium"
|
|
|
|
|
>
|
|
|
|
|
Change plan
|
|
|
|
|
</.styled_link>
|
|
|
|
|
@ -310,10 +308,7 @@ defmodule PlausibleWeb.Components.Billing do
|
|
|
|
|
</span>
|
|
|
|
|
<% else %>
|
|
|
|
|
<div class="py-2 text-xl font-medium dark:text-gray-100">Free trial</div>
|
|
|
|
|
<.styled_link
|
|
|
|
|
href={Routes.billing_path(PlausibleWeb.Endpoint, :upgrade)}
|
|
|
|
|
class="text-sm font-medium"
|
|
|
|
|
>
|
|
|
|
|
<.styled_link href={Routes.billing_path(PlausibleWeb.Endpoint, :upgrade)}>
|
|
|
|
|
Upgrade
|
|
|
|
|
</.styled_link>
|
|
|
|
|
<% end %>
|
|
|
|
|
|