You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible_web/templates
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>
3 years ago
..
auth Implement UI for 2FA setup and verification (#3541) 3 years ago
billing Fix private preview notice typo (#3503) 3 years ago
email Changes to the emails as discussed (#3540) 3 years ago
error Remove custom domains support + update build options (#3559) 3 years ago
layout Move dogfooding to full build (#3576) 3 years ago
page fix twitter link 3 years ago
site Use autocomplete=new-password for shared link password field (#3589) 3 years ago
stats Remove custom domains support + update build options (#3559) 3 years ago
unsubscribe Adds dark mode to entire dashboard (#467) 6 years ago