Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Adjust note about no invoices (#5412)
Marko Saricfcb704fa244f
diff --git a/lib/plausible_web/templates/settings/invoices.html.heex b/lib/plausible_web/templates/settings/invoices.html.heexindex f53af1dffa..14b5d407e8 100644--- a/lib/plausible_web/templates/settings/invoices.html.heex+++ b/lib/plausible_web/templates/settings/invoices.html.heex@@ -10,7 +10,7 @@<% {:error, :no_invoices} -> %><p class="mt-12 mb-8 text-center text-sm"><span>- No invoices issued yet+ Your invoice will be created once you upgrade to a subscription</span></p><% {:error, :request_failed} -> %>diff --git a/test/plausible_web/controllers/settings_controller_test.exs b/test/plausible_web/controllers/settings_controller_test.exsindex 17f21607d1..172bb5ba5e 100644--- a/test/plausible_web/controllers/settings_controller_test.exs+++ b/test/plausible_web/controllers/settings_controller_test.exs@@ -257,7 +257,9 @@ defmodule PlausibleWeb.SettingsControllerTest dotest "does not show invoice section for a user with no subscription", %{conn: conn} doconn = get(conn, Routes.settings_path(conn, :invoices))- assert html_response(conn, 200) =~ "No invoices issued yet"++ assert html_response(conn, 200) =~+ "Your invoice will be created once you upgrade to a subscription"end@tag :ee_only@@ -545,7 +547,7 @@ defmodule PlausibleWeb.SettingsControllerTest do|> get(Routes.settings_path(conn, :invoices))|> html_response(200)- assert html =~ "No invoices issued yet"+ assert html =~ "Your invoice will be created once you upgrade to a subscription"end@tag :ee_only