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

Fix inline icons in invitation email #857

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

devmount
Copy link
Collaborator

@devmount devmount commented Feb 6, 2025

Description of the Change

This PR fixes indices of inline images in the invitation email. Maybe for the future it's better to work with dictionary keys instead of positional list keys for attachements.

Benefits

Fixes a broken icon image.

Applicable Issues

Closes #856

@devmount devmount self-assigned this Feb 6, 2025
Copy link
Member

@MelissaAutumn MelissaAutumn left a comment

Choose a reason for hiding this comment

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

Good idea, worth doing it now or should we punt it to a ticket?

calendar_icon_cid=self._attachments()[1].filename,
clock_icon_cid=self._attachments()[2].filename,
calendar_icon_cid=self._attachments()[2].filename,
clock_icon_cid=self._attachments()[3].filename,
Copy link
Member

Choose a reason for hiding this comment

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

We should maybe switch to a dict, or change the BaseBookingMail so that inline images are separate from other attachments.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm fine with both! Can you put that into a follow-up ticket? Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

#860 🎉

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you!

@MelissaAutumn MelissaAutumn merged commit 87a3f1d into main Feb 11, 2025
4 checks passed
@MelissaAutumn MelissaAutumn deleted the bugs/856-fix-invitation-inline-images branch February 11, 2025 22:08
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.

Broken image in invitation email
2 participants