%= if assigns[:flash] do %> <%= render("_flash.html", assigns) %> <% end %> <%= if Plausible.Auth.GracePeriod.active?(@conn.assigns[:current_user]) do %>
<%= if Plausible.Auth.enterprise?(@conn.assigns[:current_user]) do %> In order to keep your stats running, we require you to upgrade your account to accommodate your new usage levels. Please contact us to discuss a new custom enterprise plan. <%= link("Contact us →", to: "mailto:enterprise@plausible.io", class: "text-sm font-medium text-yellow-800") %> <% else %> In order to keep your stats running, we require you to upgrade your account. If you do not upgrade your account <%= grace_period_end(@conn.assigns[:current_user]) %>, we will lock your stats and they won't be accessible. <%= link("Upgrade now →", to: "/settings", class: "text-sm font-medium text-yellow-800") %> <% end %>
As you have outgrown your subscription tier, we kindly ask you to upgrade your subscription to accommodate your new traffic levels. <%= link("Upgrade now →", to: "/settings", class: "text-sm font-medium text-yellow-800") %>