Extract System emails from enotify
- Removed every SYSTEM_EMAIL occurrence in enotify - Introduced a "SystemMailBuilder" for build system emails - Replaced every SYSTEM_EMAIL usage in the classes with calling this builder - Added tests for this new Builder - Split the email templates between "base" template for email and concrete usages for different use cases
This commit is contained in:
parent
74490d6594
commit
3291728059
18 changed files with 647 additions and 118 deletions
3
view/templates/email/system/html.tpl
Normal file
3
view/templates/email/system/html.tpl
Normal file
|
@ -0,0 +1,3 @@
|
|||
<tr><td style="padding-right:22px;">{{$htmlversion nofilter}}</td></tr>
|
||||
<tr><td></td><td>{{$thanks}}</td></tr>
|
||||
<tr><td></td><td>{{$site_admin}}</td></tr>
|
7
view/templates/email/system/text.tpl
Normal file
7
view/templates/email/system/text.tpl
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
{{$preamble nofilter}}
|
||||
|
||||
{{$textversion nofilter}}
|
||||
|
||||
{{$thanks nofilter}}
|
||||
{{$site_admin nofilter}}
|
Loading…
Add table
Add a link
Reference in a new issue