Description
The public GDPR-compliant unsubscribe confirmation page uses hardcoded static HTML styles. We need to allow organizations to personalize this page (e.g. displaying their logo and a custom message) to maintain brand unity.
User & Contributor Value
- Contributors: Extending model schemas, working with media files, and rendering custom dynamic views.
- Users: Maintains professional organization branding throughout prospect touchpoints.
Code Locations
- backend/campaigns/views.py
- backend/tenants/models.py
Implementation Guide
- Extend Organization model: Add fields
unsubscribe_title, unsubscribe_message, and brand_logo_url.
- Update View: In
unsubscribe_view in views.py, fetch the organization details linked to the lead. Render the custom titles and logo dynamically inside the returned HTML template instead of the hardcoded layout.
Description
The public GDPR-compliant unsubscribe confirmation page uses hardcoded static HTML styles. We need to allow organizations to personalize this page (e.g. displaying their logo and a custom message) to maintain brand unity.
User & Contributor Value
Code Locations
Implementation Guide
unsubscribe_title,unsubscribe_message, andbrand_logo_url.unsubscribe_viewinviews.py, fetch the organization details linked to the lead. Render the custom titles and logo dynamically inside the returned HTML template instead of the hardcoded layout.