File tree Expand file tree Collapse file tree 1 file changed +20
-15
lines changed
lib/plausible_web/templates/email Expand file tree Collapse file tree 1 file changed +20
-15
lines changed Original file line number Diff line number Diff line change 1- There are currently <%= @ current_visitors %> visitors on <%= @ site . domain %> .
1+ There are currently <%= @ current_visitors %> visitors on <%= link ( @ site . domain , to: "https://" <> @ site . domain ) %> .
22< br />
33< br />
44The top 3 sources for current visitors:< br />
5- < table cellpadding = "0 " cellspacing = "0 " width = "640 " align = "center " border = "1 " >
6- < tr >
7- < td >
8- < table cellpadding = "0 " cellspacing = "0 " width = "640 " align = "left " border = "1 " >
9- <%= for % { "name" => source , "count" => visitors } <- @ sources do %>
10- < tr >
11- < td > <%= source %> < td >
12- < td > <%= visitors %> </ td >
13- </ tr >
14- <% end %>
15- </ table >
16- </ td >
17- </ tr >
5+
6+ < table width = "100% " cellpadding = "0 " cellspacing = "0 " style = "max-width: 400px; " >
7+ < thead >
8+ < tr >
9+ < th scope = "col " > < b > Page</ b > </ th >
10+ < th scope = "col " > < b > Visitors</ b > </ th >
11+ </ tr >
12+ </ thead >
13+ < tbody >
14+ <%= for % { "name" => source , "count" => visitors } <- @ sources do %>
15+ < tr >
16+ < td valign = "top " > <%= source %> </ td >
17+ < td valign = "top " > <%= visitors %> </ td >
18+ </ tr >
19+ <% end %>
20+ </ tbody >
1821</ table >
22+
1923<%= if @ link do %>
20- View dashboard: @link
24+ < br /> < br />
25+ View dashboard: @link
2126<% end %>
2227< br /> < br />
2328--
You can’t perform that action at this time.
0 commit comments