analytics/test
Marko Saric 0b00762591
Changes to the emails as discussed (#3540)
* Update over_limit.html.eex

* Update dashboard_locked.html.eex

* Update dashboard_locked.html.eex

* Update over_limit.html.eex

* Update dashboard_locked.html.eex

* fix tests

* stop querying owned_site_ids three times

... when querying for billing cycles. Adds an optional `owned_site_ids`
argument to the `usage_cycle` function.

* add penultimate billing cycle info to emails

This commit also refactors some code and adds unit tests to email templates

* use delimit_integer instead of large_number_format

... to display usage with exact numbers such as 1,099,999 instead of 1M

* add penultimate cycle date ranges and linebreaks

---------

Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>
Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
2023-12-06 12:02:22 +00:00
..
e2e Integrate ingestion monitoring data into instatus (#3515) 2023-11-13 15:11:59 +01:00
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible Changes to the emails as discussed (#3540) 2023-12-06 12:02:22 +00:00
plausible_web Changes to the emails as discussed (#3540) 2023-12-06 12:02:22 +00:00
priv Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
support Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
workers Changes to the emails as discussed (#3540) 2023-12-06 12:02:22 +00:00
test_helper.exs Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00