From 9db7bc75cbd66fd124875be0fc8d1aefeca1fe23 Mon Sep 17 00:00:00 2001
From: ruslandoga <67764432+ruslandoga@users.noreply.github.com>
Date: Sat, 6 Apr 2024 15:59:36 +0800
Subject: [PATCH] remove Plausible Team footer from self-hosted
---
lib/plausible_web/templates/layout/base_email.html.eex | 6 +++---
lib/plausible_web/templates/layout/priority_email.html.eex | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/plausible_web/templates/layout/base_email.html.eex b/lib/plausible_web/templates/layout/base_email.html.eex
index 0679b338b..f9ffd0af8 100644
--- a/lib/plausible_web/templates/layout/base_email.html.eex
+++ b/lib/plausible_web/templates/layout/base_email.html.eex
@@ -4,12 +4,12 @@
<%= @inner_content %>
-Regards,
+<%= if full_build?() do %>Regards,
The Plausible Team 💌
-
+
<% end %>
--
<%= link(plausible_url(), to: plausible_url()) %>
-{{{ pm:unsubscribe }}}
+<%= if full_build?() do %>{{{ pm:unsubscribe }}}<% end %>
diff --git a/lib/plausible_web/templates/layout/priority_email.html.eex b/lib/plausible_web/templates/layout/priority_email.html.eex
index bddd75b9d..3ecb07826 100644
--- a/lib/plausible_web/templates/layout/priority_email.html.eex
+++ b/lib/plausible_web/templates/layout/priority_email.html.eex
@@ -4,9 +4,9 @@
<%= @inner_content %>
-Regards,
+<%= if full_build?() do %>Regards,
The Plausible Team 💌
-
+
<% end %>
--