diff --git a/lib/plausible_web/templates/layout/_notice.html.eex b/lib/plausible_web/templates/layout/_notice.html.eex index 7d2f8094d..87475e877 100644 --- a/lib/plausible_web/templates/layout/_notice.html.eex +++ b/lib/plausible_web/templates/layout/_notice.html.eex @@ -69,45 +69,43 @@ <% 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") %> -
+
+

There was a problem with your latest payment. Please update your payment information to keep using Plausible.

+ <%= link to: @conn.assigns.current_user.subscription.update_url, class: "whitespace-nowrap font-medium text-yellow-700 hover:text-yellow-600" do %> + Update billing info + + <% end %>
-
+ <% 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") %> -
+
+

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

+ <%= link to: @conn.assigns.current_user.subscription.update_url, class: "whitespace-nowrap font-medium text-red-700 hover:text-red-600" do %> + Update billing info + + <% end %>
-
+ <% end %>