Skip to content

Commit

Permalink
fix: sync html templates
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Nov 30, 2024
1 parent ad876ea commit e1abe33
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.0.5

## Fix

- Sync the html templates with dart

# 0.0.4

## CI
Expand Down
18 changes: 9 additions & 9 deletions lib/src/templates/html_mail_templates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class HtmlTemplates {
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>[TITLE]</title>
<title>{{TITLE}}</title>
<style>
body {
font-family: Arial, sans-serif;
Expand Down Expand Up @@ -122,8 +122,8 @@ class HtmlTemplates {
<body>
<div class="email-container">
<div class="content">
<h1>Hi [CUSTOMER NAME],</h1>
<h2>[SUBTITLE]</h2>
<h1>Hi {{CUSTOMER NAME}},</h1>
<h2>{{SUBTITLE}}</h2>
<p>Below you can see a summary of your order.</p>
<div class="order-details">
<h3>Your order</h3>
Expand All @@ -133,19 +133,19 @@ class HtmlTemplates {
<th>Quantity</th>
<th>Price</th>
</tr>
[ORDER LINES]
{{ORDER LINES}}
<tr>
<td colspan="2" style="text-align: right;"><strong>Total:</strong></td>
<td>[TOTAL PRICE]</td>
<td>{{TOTAL PRICE}}</td>
</tr>
</table>
</div>
<p>Your order number is <strong>[ORDER NUMMER]</strong>.</p>
<p>If you still have questions, please do not hesitate to <a href="[CONTACT US URL]">contact us</a>.</p>
<p>Your order number is <strong>{{ORDER NUMMER}}</strong>.</p>
<p>If you still have questions, please do not hesitate to <a href="{{CONTACT US URL}}">contact us</a>.</p>
</div>
<div class="footer">
<p>[COPYRIGHT]</p>
<p><a href="[PRIVACY URL]">Privacy Policy</a></p>
<p>{{COPYRIGHT}}</p>
<p><a href="{{PRIVACY URL}}">Privacy Policy</a></p>
</div>
</div>
</body>
Expand Down

0 comments on commit e1abe33

Please sign in to comment.