analytics/lib/plausible_web/templates/email
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
..
activation_email.html.eex remove user salutations by @user as done by the layout 2022-11-08 19:46:01 +02:00
cancellation_email.html.eex speak on behalf of 'we' not 'I' 2022-11-10 10:31:32 +02:00
check_stats_email.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
create_site_email.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
dashboard_locked.html.eex Refactor Plausible.Billing.Plans module (#3249) 2023-08-09 14:33:59 -03:00
enterprise_over_limit_internal.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
error_report_email.html.eex Show user feedback form on server errors (#2617) 2023-01-25 15:15:41 +01:00
existing_user_invitation.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
google_analytics_import.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
invitation_accepted.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
invitation_rejected.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
new_user_invitation.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
over_limit.html.eex Refactor Plausible.Billing.Plans module (#3249) 2023-08-09 14:33:59 -03:00
ownership_transfer_accepted.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
ownership_transfer_rejected.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
ownership_transfer_request.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
password_reset_email.html.eex Add unubscribe link to transactional emails 2020-08-04 12:44:54 +03:00
site_member_removed.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
site_setup_help_email.html.eex link to the WP plugin and the integration guides (#2927) 2023-05-23 11:37:35 +03:00
site_setup_success_email.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
spike_notification.html.eex small addition to spike_notification email 2022-11-10 16:08:16 +02:00
trial_one_week_reminder.html.eex speak on behalf of 'we' not 'I' 2022-11-10 10:31:32 +02:00
trial_over_email.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
trial_upgrade_email.html.eex Avoid suggesting plan for trials switching to enterprise plans (#3282) 2023-08-21 09:01:50 -03:00
welcome_email.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
yearly_expiration_notification.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00
yearly_renewal_notification.html.eex remove all repeated email footers 2022-11-09 10:20:12 +02:00