Refactor email templates and add notification tasks
Moved email templates to a unified 'email' directory and added new base, header, and footer templates for emails. Implemented notification tasks in commerce for various order and refund events, and updated Carrier model to trigger notifications on shipping state changes.
This commit is contained in:
9
backend/templates/email/components/header.html
Normal file
9
backend/templates/email/components/header.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:#222;">
|
||||
<tr>
|
||||
<td align="center" style="padding:20px; color:#ffffff; font-family:Arial, Helvetica, sans-serif;">
|
||||
<h2 style="margin:0; font-size:22px;">
|
||||
{{ site_name|default:"E-shop" }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user