Skip to content

Commit

Permalink
Add Plausible EE plugs in CE (#4694)
Browse files Browse the repository at this point in the history
* add Plausible EE plugs in CE

* use bottom padding instead of spacer

* change wording, move it up in report template
  • Loading branch information
ruslandoga authored Dec 9, 2024
1 parent 76cf874 commit 87b65ae
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/plausible_web/mjml/templates/stats_report.mjml.eex
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>

0 comments on commit 87b65ae

Please sign in to comment.