Skip to content

Commit

Permalink
Use basic template
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 authored and Brutus5000 committed Jun 7, 2022
1 parent 572cdb5 commit a66a7f1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 41 deletions.
17 changes: 5 additions & 12 deletions test-account-activation.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
</title>
</head>
<body>
<div>
<h1>Use a variable like this, {{username}}</h1>
</div>
</body>
</html>
To generate proper html code use the template in src/main/mjml with an mjml parser (e.g. use the IntelliJ plugin for MJML or follow the instructions on https://documentation.mjml.io/#usage
Following variables are available:
username: {{username}}
activationUrl: {{activationUrl}}

18 changes: 4 additions & 14 deletions test-password-reset.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title></title>
</head>
<body style="word-spacing:normal;background-color:#fafafa;">
<div>
Password reset
</div>
<div>
<h1>Use a variable like this, {{username}}</h1>
</div>
</body>
</html>
To generate proper html code use the template in src/main/mjml with an mjml parser (e.g. use the IntelliJ plugin for MJML or follow the instructions on https://documentation.mjml.io/#usage
Following variables are available:
username: {{username}}
passwordResetUrl: {{passwordResetUrl}}
18 changes: 3 additions & 15 deletions test-welcome-to-faf.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title>
</title>
</head>
<body style="word-spacing:normal;background-color:#fafafa;">
<div style="display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">
Password reset
</div>
<div>
<h1>Use a variable like this, {{username}}</h1>
</div>
</body>
</html>
To generate proper html code use the template in src/main/mjml with an mjml parser (e.g. use the IntelliJ plugin for MJML or follow the instructions on https://documentation.mjml.io/#usage
Following variables are available:
username: {{username}}

0 comments on commit a66a7f1

Please sign in to comment.