analytics/lib/plausible_web/templates
Vini Brasil 48b02c1396
Avoid suggesting plan for trials switching to enterprise plans (#3282)
This commit fixes a bug where the SendTrialNotifications job tried to
suggest a plan for users switching to enterprise plans, resulting in the
exception below:

```
UndefinedFunctionError: function :enterprise.volume/0 is undefined (module :enterprise is not available)
  Module "enterprise", in :enterprise.volume/0
  File "lib/plausible_web/templates/email/trial_upgrade_email.html.eex", line 5, in PlausibleWeb.EmailView."trial_upgrade_email.html"/1
  File "lib/phoenix_view.ex", line 381, in Phoenix.View.render_within/3
  File "lib/phoenix_view.ex", line 557, in Phoenix.View.render_to_iodata/3
  File "lib/phoenix_view.ex", line 564, in Phoenix.View.render_to_string/3
  File "lib/bamboo_phoenix.ex", line 291, in Bamboo.Phoenix.render_text_or_html_email/1
  File "lib/workers/send_trial_notifications.ex", line 67, in Plausible.Workers.SendTrialNotifications.send_today_reminder/1
  File "lib/workers/send_trial_notifications.ex", line 36, in anonymous fn/2 in Plausible.Workers.SendTrialNotifications.perform/1
```
2023-08-21 09:01:50 -03:00
..
auth Add unique constraint to api keys (#2931) 2023-05-23 11:37:58 +03:00
billing Refactor Plausible.Billing.Plans module (#3249) 2023-08-09 14:33:59 -03:00
email Avoid suggesting plan for trials switching to enterprise plans (#3282) 2023-08-21 09:01:50 -03:00
error Simplify Phoenix error template (#2913) 2023-05-16 10:52:17 +02:00
layout Prevent robots from looking too much into public dashboards (#3118) 2023-07-11 10:47:03 +02:00
page fix twitter link 2023-06-08 17:47:55 +08:00
site Some fixes to the Custom Props feature (#3241) 2023-08-07 18:11:14 +01:00
stats Disallow small intervals on large ranges (#3245) 2023-08-08 14:49:19 +02:00
unsubscribe Adds dark mode to entire dashboard (#467) 2020-12-16 11:57:28 +02:00