mirror of
https://github.com/plausible/analytics.git
synced 2024-12-22 17:11:36 +03:00
Add + and - to changes in email report
This commit is contained in:
parent
5d2b7de30f
commit
1ee5147ffb
@ -236,11 +236,11 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<% @change_visitors >= 0 -> %>
|
<% @change_visitors >= 0 -> %>
|
||||||
<div style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; color: #1f9d55;">
|
<div style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; color: #1f9d55;">
|
||||||
<p style="font-size: 12px; line-height: 14px; text-align: left; margin: 0;"><strong><%= @change_visitors %>%</strong></p>
|
<p style="font-size: 12px; line-height: 14px; text-align: left; margin: 0;"><strong>+<%= @change_visitors %>%</strong></p>
|
||||||
</div>
|
</div>
|
||||||
<% @change_visitors < 0 -> %>
|
<% @change_visitors < 0 -> %>
|
||||||
<div style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; color: #ff4457;">
|
<div style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px; line-height: 14px; color: #ff4457;">
|
||||||
<p style="font-size: 12px; line-height: 14px; text-align: left; margin: 0;"><strong><%= @change_visitors %>%</strong></p>
|
<p style="font-size: 12px; line-height: 14px; text-align: left; margin: 0;"><strong>-<%= @change_visitors %>%</strong></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user