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

Refactoring on mail templates #567

Merged
merged 3 commits into from
Mar 17, 2019
Merged

Conversation

ikedas
Copy link
Member

@ikedas ikedas commented Mar 11, 2019

Simplify notation of header fields in mail templates.

  • Use "[% "string" | loc %]" instead of "[%|loc%]string[%END%]".
  • Use a new filter "mailbox" to construct address field in header.

  - Use "[% string | loc %]" instead of "[%|loc%]string[%END%]".
  - Use a filter "mailbox".
@ikedas ikedas added enhancement ready A PR is waiting to be merged. Close to be solved labels Mar 11, 2019
@ikedas ikedas added this to the 6.2.42 milestone Mar 11, 2019
@ikedas ikedas merged commit 2be3871 into sympa-community:sympa-6.2 Mar 17, 2019
@ikedas ikedas deleted the 6.2.42-bonus branch March 17, 2019 08:16
@dverdin
Copy link
Contributor

dverdin commented Mar 17, 2019

Nice, Soiji. So Sympa supports both notation now, but the simpler is the default one, is it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ready A PR is waiting to be merged. Close to be solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants