Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#8527] emails: fix missing images, empty cta button and styling issues #5908

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

vellip
Copy link
Collaborator

@vellip vellip commented Dec 30, 2024

Describe your changes
replace svg with png images as they are better supported, remove an unused cta block, and fix some styling. Also, a4 has been updated to use a new setting so projects can add their own attachments to emails, even those set in a4.

depends on liqd/adhocracy4#1741

closes #5878

Tasks

  • PR name contains story or task reference
  • Steps to recreate and test the changes
  • Documentation (docs and inline)
  • Tests (including n+1 and django_assert_num_queries where applicable)
  • Changelog

Copy link
Contributor

@goapunk goapunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a question regarding the change in the email backend

@@ -294,7 +294,9 @@
LOGIN_URL = "account_login"
LOGIN_REDIRECT_URL = "/"

EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
# EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we actually want to change this or did you accidentally add it to the commit ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah good catch, no it wasn't intented

@vellip vellip force-pushed the pv-2024-12-mailing-fixes branch from 0b0815b to 4d6c3b4 Compare January 3, 2025 10:15
@vellip vellip requested a review from goapunk January 3, 2025 10:22
Copy link
Contributor

@goapunk goapunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! I added a commit to update a4

@goapunk goapunk merged commit de1db1a into dev Jan 9, 2025
2 of 3 checks passed
@goapunk goapunk deleted the pv-2024-12-mailing-fixes branch January 9, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants