Skip to content

Commit

Permalink
Use blade syntax on all mail templates
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Feb 19, 2023
1 parent 8e38e50 commit 638b159
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
14 changes: 7 additions & 7 deletions views/mail/activation.blade.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
subject = "Please verify your email address"
==
Hi {first_name},
Hi {{$first_name}},

Complete your registration with {site_name}.
Complete your registration with {{$site_name}}.

Please click this link to verify your email address:

{account_activation_link}
{{$account_activation_link}}
==
Hi {first_name} {last_name},
Hi {{$first_name}} {{$last_name}},

## Complete your registration with {site_name}.
## Complete your registration with {{$site_name}}.

Please click the button below to verify your email address:

@partial('button', ['url' => '{account_activation_link}', 'type' => 'primary'])
@partial('button', ['url' => $account_activation_link, 'type' => 'primary'])
Confirm my account
@endpartial

Alternatively, copy and paste the link below in a new browser window: <br>
{account_activation_link}
{{$account_activation_link}}
12 changes: 6 additions & 6 deletions views/mail/password_reset.blade.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
subject = "Password reset at {site_name}"
subject = "Password reset at {{$site_name}}"
==
Hi {first_name} {last_name},
Hi {{$first_name}} {{$last_name}},

Your password was changed successfully!

Please login using your new password:
{account_login_link}
{{$account_login_link}}

If you think this password update was a mistake, reset your password immediately.
==
Hi {first_name} {last_name},
Hi {{$first_name}} {{$last_name}},

## Your password was changed successfully!

@partial('button', ['url' => '{account_login_link}', 'type' => 'primary'])
@partial('button', ['url' => $account_login_link, 'type' => 'primary'])
Login using your new password
@endpartial

If you think this password update was a mistake, reset your password immediately.
If you think this password update was a mistake, reset your password immediately.
16 changes: 8 additions & 8 deletions views/mail/password_reset_request.blade.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
subject = "Password reset request at {site_name}"
subject = "Password reset request at {{$site_name}}"
==
Hi, {first_name} {last_name}
Hi, {{$first_name}} {{$last_name}}

Someone requested a password reset for your {site_name} account.
Someone requested a password reset for your {{$site_name}} account.

If you did request a password reset, copy and paste the link below in a new browser window: {reset_link}
If you did request a password reset, copy and paste the link below in a new browser window: {{$reset_link}}
==
Hi {first_name} {last_name},
Hi {{$first_name}} {{$last_name}},

Someone requested a password reset for your {site_name} account.
Someone requested a password reset for your {{$site_name}} account.

If you did request a password reset, click the button below to reset your password:

@partial('button', ['url' => '{reset_link}', 'type' => 'primary'])
@partial('button', ['url' => $reset_link, 'type' => 'primary'])
Reset your password
@endpartial

Alternatively, copy and paste the link below in a new browser window: <br>
{reset_link}
{{$reset_link}}
16 changes: 8 additions & 8 deletions views/mail/registration.blade.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
subject = "Welcome to {site_name}"
subject = "Welcome to {{$site_name}}"
==
Hi {first_name} {last_name},
Hi {{$first_name}} {{$last_name}},

Thank you for registering with {site_name}.
Thank you for registering with {{$site_name}}.

Your account has now been created and you can log in using your email address and password by visiting our website or at the following URL: {account_login_link}
Your account has now been created and you can log in using your email address and password by visiting our website or at the following URL: {{$account_login_link}}
==
Hi {first_name} {last_name},
Hi {{$first_name}} {{$last_name}},

## Thank you for registering with {site_name}.
## Thank you for registering with {{$site_name}}.

Your account has now been created and you can log in using your email address and password by clicking the button below:

@partial('button', ['url' => '{account_login_link}', 'type' => 'primary'])
@partial('button', ['url' => $account_login_link, 'type' => 'primary'])
Login into your account
@endpartial
@endpartial
6 changes: 3 additions & 3 deletions views/mail/registration_alert.blade.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
subject = "New Customer on {site_name}"
subject = "New Customer on {{$site_name}}"
==
You have a new customer!

Customer name: {first_name} {last_name}
Customer name: {{$first_name}} {{$last_name}}
==
## You have a new customer!

**Customer name:** {first_name} {last_name}
**Customer name:** {{$first_name}} {{$last_name}}

0 comments on commit 638b159

Please sign in to comment.