mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 01:22:15 +03:00
Add plus and minus to change pageviews
This commit is contained in:
parent
68bc3bc5ba
commit
4991b696bf
@ -278,11 +278,11 @@ body {
|
|||||||
</div>
|
</div>
|
||||||
<% @change_pageviews >= 0 -> %>
|
<% @change_pageviews >= 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_pageviews %>%</strong></p>
|
<p style="font-size: 12px; line-height: 14px; text-align: left; margin: 0;"><strong>+<%= @change_pageviews %>%</strong></p>
|
||||||
</div>
|
</div>
|
||||||
<% @change_pageviews < 0 -> %>
|
<% @change_pageviews < 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_pageviews %>%</strong></p>
|
<p style="font-size: 12px; line-height: 14px; text-align: left; margin: 0;"><strong>-<%= @change_pageviews %>%</strong></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user