Tom Butcher 58cb444bf2
All checks were successful
farmcontrol/farmcontrol-api/pipeline/head This commit looks good
Refactor email template rendering to support preview mode and improve CSS handling
This commit updates the email template rendering logic to conditionally apply a preview wrapper and associated CSS when the preview flag is set. It modifies the `renderEmailTemplate` and `renderTemplate` methods to ensure that the email content is correctly wrapped in a preview structure, while also ensuring that scaling is consistently applied. Additionally, tests are added to verify the correct behavior of the rendering process in both preview and non-preview scenarios, enhancing the overall functionality of the TemplateManager.
2026-09-12 23:48:03 +01:00
..
2026-03-01 16:54:56 +00:00