Update spike email

This commit is contained in:
Uku Taht 2020-12-14 10:29:10 +02:00
parent 1504dd5412
commit 39e90a2c76

View File

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