Add Plausible EE plugs in CE (#4694)

* add Plausible EE plugs in CE

* use bottom padding instead of spacer

* change wording, move it up in report template
This commit is contained in:
ruslandoga 2024-12-09 15:44:30 +07:00 committed by GitHub
parent 76cf87427d
commit 87b65aefd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View File

@ -24,9 +24,21 @@
<mj-body>
<mj-section padding="25px 0 0 0">
<mj-column>
<%= if Plausible.ee?() do %>
<mj-text mj-class="text-sm" height="40px">
<%= Plausible.product_name() %>
</mj-text>
<% else %>
<mj-text mj-class="text-sm">
<%= Plausible.product_name() %>
</mj-text>
<mj-divider />
<mj-text mj-class="text-sm" line-height="1.5">
Plausible CE is funded by our cloud subscribers. If you <a href="https://plausible.io/?utm_medium=email&utm_source=CE">enjoy using Plausible</a>
and know someone who might benefit from it, please spread the word.
</mj-text>
<mj-divider />
<% end %>
<mj-text mj-class="text-lg">
<%= @site.domain %>
</mj-text>

View File

@ -12,3 +12,8 @@ There are currently <%= @current_visitors %> visitors on
<br /><br /> View dashboard: <a href={@link}><%= @link %></a>
<% end %>
<br /><br /> Congrats on the spike in traffic!
<%= if Plausible.ce? do %>
<br /><br /> Plausible CE is funded by our cloud subscribers. If you
<a href="https://plausible.io/?utm_medium=email&utm_source=CE">enjoy using Plausible</a>
and know someone who might benefit from it, please spread the word.
<% end %>