"> <%= assigns[:title] || "Plausible ยท Simple, privacy-friendly alternative to Google Analytics" %> "/> <%= render("_tracking.html", assigns) %> <%= if get_flash(@conn, :success) do %> <% end %> <%= if get_flash(@conn, :error) do %> <% end %> <%= if @conn.assigns[:current_user] && @conn.assigns[:current_user].subscription && @conn.assigns[:current_user].subscription.status == "past_due" do %>

Your latest payment failed. Please provide valid payment details to keep using Plausible.

<%= link("Update billing info", to: @conn.assigns[:current_user].subscription.update_url, class: "flex items-center justify-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-gray-600 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline transition ease-in-out duration-150") %>
<% end %> <%= if @conn.assigns[:current_user] && @conn.assigns[:current_user].subscription && @conn.assigns[:current_user].subscription.status == "paused" do %>

Your subscription is paused due to failed payments. Please provide valid payment details to keep using Plausible.

<%= link("Update billing info", to: @conn.assigns[:current_user].subscription.update_url, class: "flex items-center justify-center px-4 py-2 border border-transparent text-sm leading-5 font-medium rounded-md text-gray-600 bg-white hover:text-gray-500 focus:outline-none focus:shadow-outline transition ease-in-out duration-150") %>
<% end %>
<%= render @view_module, @view_template, assigns %>
<%= render("_footer.html", assigns) %>