mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 17:44:43 +03:00
remove Plausible Team footer from self-hosted emails (#3980)
* remove Plausible Team footer from self-hosted * don't test unsubscribe placeholder in small build
This commit is contained in:
parent
b951065724
commit
94deb89b9d
@ -4,12 +4,12 @@
|
||||
<%= @inner_content %>
|
||||
<br /><br />
|
||||
|
||||
Regards,<br />
|
||||
<%= if full_build?() do %>Regards,<br />
|
||||
The Plausible Team 💌
|
||||
<br /><br />
|
||||
<br /><br /><% end %>
|
||||
|
||||
--
|
||||
<br /><br />
|
||||
<%= link(plausible_url(), to: plausible_url()) %><br />
|
||||
|
||||
{{{ pm:unsubscribe }}}
|
||||
<%= if full_build?() do %>{{{ pm:unsubscribe }}}<% end %>
|
||||
|
@ -4,9 +4,9 @@
|
||||
<%= @inner_content %>
|
||||
<br /><br />
|
||||
|
||||
Regards,<br />
|
||||
<%= if full_build?() do %>Regards,<br />
|
||||
The Plausible Team 💌
|
||||
<br /><br />
|
||||
<br /><br /><% end %>
|
||||
|
||||
--
|
||||
<br /><br />
|
||||
|
@ -31,6 +31,7 @@ defmodule PlausibleWeb.EmailTest do
|
||||
assert email.html_body =~ plausible_link()
|
||||
end
|
||||
|
||||
@tag :full_build_only
|
||||
test "renders unsubscribe placeholder" do
|
||||
email =
|
||||
Email.base_email()
|
||||
|
Loading…
Reference in New Issue
Block a user