1
1
mirror of https://github.com/plausible/analytics.git synced 2024-12-23 09:33:19 +03:00
analytics/lib/plausible_web/templates/email/spike_notification.html.eex
2020-12-14 10:29:10 +02:00

19 lines
505 B
Elixir

There are currently <%= @current_visitors %> visitors on <%= link(@site.domain, to: "https://" <> @site.domain) %>.
<%= if Enum.count(@sources) > 0 do %>
<br />
<br />
The top sources for current visitors:<br />
<%= for %{name: source, count: visitors} <- @sources do %>
<%= source %> - <%= visitors %> visitor<%= if visitors > 1, do: "s" %><br />
<% end %>
<% end %>
<%= if @link do %>
<br /><br />
View dashboard: @link
<% end %>
<br /><br />
--
<br /><br />
<%= plausible_url() %><br />