From 4991b696bf7a015078ff3c2283bac201cc4a6b15 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Mon, 9 Sep 2019 15:59:38 +0100 Subject: [PATCH] Add plus and minus to change pageviews --- lib/plausible_web/templates/email/weekly_report.html.eex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plausible_web/templates/email/weekly_report.html.eex b/lib/plausible_web/templates/email/weekly_report.html.eex index 2a5244bf1..383722cbb 100644 --- a/lib/plausible_web/templates/email/weekly_report.html.eex +++ b/lib/plausible_web/templates/email/weekly_report.html.eex @@ -278,11 +278,11 @@ body { <% @change_pageviews >= 0 -> %>
-

<%= @change_pageviews %>%

+

+<%= @change_pageviews %>%

<% @change_pageviews < 0 -> %>
-

<%= @change_pageviews %>%

+

-<%= @change_pageviews %>%

<% end %>