"> <%= assigns[:title] || "Plausible ยท Simple, privacy-friendly alternative to Google Analytics" %> "/> <%= render("_tracking.html", assigns) %> <%= render("_flash.html", assigns) %> <%= 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 dark:text-gray-400 bg-white dark:bg-gray-800 hover:text-gray-500 dark:hover:text-gray-200 focus:outline-none focus:ring 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 dark:text-gray-400 bg-white dark:bg-gray-800 hover:text-gray-500 dark:hover:text-gray-200 focus:outline-none focus:ring transition ease-in-out duration-150") %>
<% end %>
<%= Map.get(assigns, :inner_layout) || @inner_content %>
<%= render("_footer.html", assigns) %>