mirror of
https://github.com/plausible/analytics.git
synced 2024-12-22 09:01:40 +03:00
Add + and - to changes in email report
This commit is contained in:
parent
5d2b7de30f
commit
1ee5147ffb
@ -236,11 +236,11 @@ body {
|
||||
</div>
|
||||
<% @change_visitors >= 0 -> %>
|
||||
<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>
|
||||
<% @change_visitors < 0 -> %>
|
||||
<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>
|
||||
<% end %>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user