diff --git a/lib/plausible_web/templates/auth/user_settings.html.heex b/lib/plausible_web/templates/auth/user_settings.html.heex index ac373d707..6ede880e4 100644 --- a/lib/plausible_web/templates/auth/user_settings.html.heex +++ b/lib/plausible_web/templates/auth/user_settings.html.heex @@ -1,4 +1,4 @@ -<%= if !Application.get_env(:plausible, :is_selfhost) do %> +<%= if full_build?() do %>

Subscription Plan

diff --git a/lib/plausible_web/templates/layout/_footer.html.heex b/lib/plausible_web/templates/layout/_footer.html.heex new file mode 100644 index 000000000..802d9079c --- /dev/null +++ b/lib/plausible_web/templates/layout/_footer.html.heex @@ -0,0 +1,308 @@ +
+
+
+
+

+ + Plausible Analytics +

+

+ <%= if full_build?() do %> + Made and hosted in the EU 🇪🇺
+ <% end %> + Solely funded by our subscribers.
+

+ <%= if not full_build?() do %> + + <% end %> +
+ +
+
+
diff --git a/lib/plausible_web/templates/layout/_header.html.heex b/lib/plausible_web/templates/layout/_header.html.heex index 753f746f8..450a5daa7 100644 --- a/lib/plausible_web/templates/layout/_header.html.heex +++ b/lib/plausible_web/templates/layout/_header.html.heex @@ -24,15 +24,16 @@ <%= cond do %> <% @conn.assigns[:current_user] -> %>
@@ -76,7 +77,7 @@ - <%= if @conn.assigns[:current_user] && !Application.get_env(:plausible, :is_selfhost) do %> + <%= if @conn.assigns[:current_user] && full_build?() do %>
  • <% end %> diff --git a/lib/plausible_web/templates/layout/_tracking.html.heex b/lib/plausible_web/templates/layout/_tracking.html.heex index 9e3cc9b1c..2d1ea894a 100644 --- a/lib/plausible_web/templates/layout/_tracking.html.heex +++ b/lib/plausible_web/templates/layout/_tracking.html.heex @@ -1,4 +1,4 @@ -<%= if !Application.get_env(:plausible, :is_selfhost) && !@conn.assigns[:skip_plausible_tracking] do %> +<%= if full_build?() && !@conn.assigns[:skip_plausible_tracking] do %>