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

feat: report preview is now rendered using the correct template #46

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

gearsdigital
Copy link
Owner

This MR fixes the issue that always the report template is used even if a user had configured email as report type.

Type: text

If report email type is set to text, the email-text-template is rendered.

Type: html

If report email type is set to html, the email-html-template is rendered - but the HTML isn't parsed which allows the User to preview the markup. That might change in the future.

Closes #45

@gearsdigital gearsdigital merged commit 30de8b3 into master Nov 11, 2021
@gearsdigital gearsdigital deleted the fix-render-preview branch November 11, 2021 13:20
github-actions bot pushed a commit that referenced this pull request Nov 11, 2021
# [4.0.0](v3.0.1...v4.0.0) (2021-11-11)

### Bug Fixes

* an email is now sent properly with its specified type ([7dbd8a6](7dbd8a6))
* repair broken bade links ([7ec4f3a](7ec4f3a))
* set correct default email type to text ([f5299e4](f5299e4))
* update composer to reflect the latest additions ([c77ac9f](c77ac9f))

* Send as mail #19 (#43) ([12376c5](12376c5)), closes [#19](#19) [#43](#43) [#19](#19)

### Features

* add semantic release to automate the release process ([0d6add6](0d6add6))
* improve default email templates ([8e14bbe](8e14bbe))
* report preview is now rendered using the correct template ([#46](#46)) ([30de8b3](30de8b3)), closes [#45](#45)

### BREAKING CHANGES

* `options` are now registered with the new option syntax
@gearsdigital
Copy link
Owner Author

🎉 This PR is included in version 4.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render preview using the correct template
1 participant