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

Allow custom templates for broadcasting (mail) facilities #24

Closed
DonDebonair opened this issue Jan 14, 2015 · 0 comments
Closed

Allow custom templates for broadcasting (mail) facilities #24

DonDebonair opened this issue Jan 14, 2015 · 0 comments
Labels
Milestone

Comments

@DonDebonair
Copy link
Member

Currently, only the standard template is available for mails sent by Athena. It should be possible to provide custom (Jinja2) templates and pass the name of the desired template over the command line. It should also be possible to configure a default template.

Athena should do the following a command is invoked that uses a template:

  • If the name of a template is passed along, try to find that template in $CONFIGDIR/templates/, and if it does not exist there, try to find it in the Athena template dir.
  • If no template name is passed, use the default as specified in the configuration file, or if that has not been configured, use the Athena default.

As an optional feature, we could allow passing a full path to a template.

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

No branches or pull requests

1 participant