Lauryn Menard
06dd7a3a68
emails: Add corporate_enabled to context for emails.
...
In commit fc58c35c0 , we added a check in various emails for the
settings.CORPORATE_ENABLED value, but that context is only always
included for views/templates with a request.
Here we add that to common_context, which is often used when there
is not a request (like with emails). And we manually add it to the
email context in various cases when there is not a user account to
call with common_context: new user invitations, registration emails,
and realm reactivation emails.
2023-05-01 10:32:43 -07:00
..
2023-04-05 12:22:29 -07:00
2022-04-14 17:14:31 -07:00
2022-04-14 17:14:32 -07:00
2023-04-27 16:50:10 -07:00
2022-05-13 20:42:20 -07:00
2023-02-02 10:40:13 -08:00
2021-07-24 14:55:46 -07:00
2023-04-26 16:37:16 -07:00
2022-02-04 15:16:56 -08:00
2022-02-04 15:16:56 -08:00
2023-04-19 12:20:49 -07:00
2023-04-25 19:58:16 -07:00
2022-04-14 17:14:31 -07:00
2023-02-04 16:34:55 -08:00
2023-02-02 10:40:13 -08:00
2023-04-25 19:58:16 -07:00
2023-02-02 10:40:13 -08:00
2023-04-28 17:25:00 -07:00
2023-02-20 21:04:13 -08:00
2023-02-02 10:40:13 -08:00
2022-02-04 15:16:56 -08:00
2022-04-14 17:14:35 -07:00
2022-09-16 16:19:54 -07:00
2022-09-16 15:27:52 -07:00
2023-02-02 10:40:13 -08:00
2023-01-26 10:49:19 -08:00
2023-02-02 10:40:13 -08:00
2023-04-19 12:20:49 -07:00
2022-06-23 22:09:05 -07:00
2022-04-14 17:14:30 -07:00
2023-04-27 12:28:37 -07:00
2023-05-01 10:32:43 -07:00
2023-04-25 19:58:16 -07:00
2023-04-28 17:25:00 -07:00
2023-03-24 15:16:38 -07:00
2022-02-04 15:16:56 -08:00
2023-04-11 09:02:09 -07:00
2022-04-14 17:14:30 -07:00
2022-07-12 17:44:24 -07:00
2022-02-04 15:16:56 -08:00
2023-04-18 12:29:33 -07:00
2023-02-02 10:40:13 -08:00
2023-03-02 16:36:19 -08:00
2023-04-06 19:03:26 -07:00
2023-04-18 18:32:02 -07:00
2023-04-03 22:31:49 -07:00
2023-02-10 17:35:49 -08:00
2022-04-14 17:14:30 -07:00
2023-01-04 16:25:07 -08:00