better emails
This commit is contained in:
6
resources/views/components/emails/footer.blade.php
Normal file
6
resources/views/components/emails/footer.blade.php
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
Thank you.<br>
|
||||
{{ config('app.name') ?? 'Coolify' }}
|
||||
|
||||
{{ Illuminate\Mail\Markdown::parse('---') }}
|
||||
{{ Illuminate\Mail\Markdown::parse('[Contact Support](https://docs.coollabs.io)') }}
|
1
resources/views/components/emails/header.blade.php
Normal file
1
resources/views/components/emails/header.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
Hello,
|
6
resources/views/components/emails/layout.blade.php
Normal file
6
resources/views/components/emails/layout.blade.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<x-emails.header />
|
||||
{{ Illuminate\Mail\Markdown::parse($slot) }}
|
||||
<x-emails.footer />
|
||||
|
||||
|
||||
|
@@ -1,8 +1,11 @@
|
||||
@if ($pull_request_id !== 0)
|
||||
Pull Request #{{ $pull_request_id }} of {{ $name }} (<a target="_blank"
|
||||
href="{{ $fqdn }}">{{ $fqdn }}</a>) deployment failed:
|
||||
@else
|
||||
Deployment failed of {{ $name }} (<a target="_blank" href="{{ $fqdn }}">{{ $fqdn }}</a>):
|
||||
@endif
|
||||
<x-emails.layout>
|
||||
@if ($pull_request_id === 0)
|
||||
Failed to deploy a new version of {{ $name }} at [{{ $fqdn }}]({{ $fqdn }}) .
|
||||
@else
|
||||
Failed to deploy a pull request #{{ $pull_request_id }} of {{ $name }} at
|
||||
[{{ $fqdn }}]({{ $fqdn }}).
|
||||
@endif
|
||||
|
||||
<a target="_blank" href="{{ $deployment_url }}">View Deployment Logs</a><br><br>
|
||||
[View Deployment Logs]({{ $deployment_url }})
|
||||
|
||||
</x-emails.layout>
|
||||
|
@@ -1,8 +1,10 @@
|
||||
@if ($pull_request_id === 0)
|
||||
A new version of <a target="_blank" href="{{ $fqdn }}">{{ $fqdn }}</a> is available:
|
||||
@else
|
||||
Pull request #{{ $pull_request_id }} of {{ $name }} deployed successfully: <a target="_blank"
|
||||
href="{{ $fqdn }}">Application Link</a> |
|
||||
@endif
|
||||
<a target="_blank" href="{{ $deployment_url }}">View
|
||||
Deployment Logs</a><br><br>
|
||||
<x-emails.layout>
|
||||
@if ($pull_request_id === 0)
|
||||
A new version of {{ $name }} is available at [{{ $fqdn }}]({{ $fqdn }}) .
|
||||
@else
|
||||
Pull request #{{ $pull_request_id }} of {{ $name }} deployed successfully [{{ $fqdn }}]({{ $fqdn }}).
|
||||
@endif
|
||||
|
||||
[View Deployment Logs]({{ $deployment_url }})
|
||||
|
||||
</x-emails.layout>
|
||||
|
@@ -1,2 +1,9 @@
|
||||
{{ $name }} has been stopped.<br><br>
|
||||
<a target="_blank" href="{{ $application_url }}">Open in Coolify</a><br><br>
|
||||
<x-emails.layout>
|
||||
|
||||
{{ $name }} has been stopped.
|
||||
|
||||
If it was your intention to stop this application, you can ignore this email.
|
||||
|
||||
If not, [check what is going on]({{ $application_url }}).
|
||||
|
||||
</x-emails.layout>
|
||||
|
8
resources/views/emails/backup-failed.blade.php
Normal file
8
resources/views/emails/backup-failed.blade.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<x-emails.layout>
|
||||
Database backup for {{ $name }} with frequency of {{ $frequency }} was FAILED.
|
||||
|
||||
### Reason
|
||||
|
||||
{{ $output }}
|
||||
|
||||
</x-emails.layout>
|
3
resources/views/emails/backup-success.blade.php
Normal file
3
resources/views/emails/backup-success.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<x-emails.layout>
|
||||
Database backup for {{ $name }} with frequency of {{ $frequency }} was successful.
|
||||
</x-emails.layout>
|
@@ -1,13 +1,11 @@
|
||||
Hello,<br><br>
|
||||
<x-emails.layout>
|
||||
|
||||
You have been invited to "{{ $team }}" on "{{ config('app.name') }}".<br><br>
|
||||
You have been invited to "{{ $team }}" on "{{ config('app.name') }}".
|
||||
|
||||
Please click here to accept the invitation: <a target="_blank" href="{{ $invitation_link }}">Accept Invitation</a><br>
|
||||
<br>
|
||||
Please [click here]({{ $invitation_link }}) to accept the invitation.
|
||||
|
||||
If you have any questions, please contact the team owner.<br><br>
|
||||
|
||||
If it was not you who requested this invitation, please ignore this ema il, or instantly revoke the invitation by
|
||||
clicking here: <a target="_blank" href="{{ $invitation_link }}/revoke">Revoke Invitation</a><br><br>
|
||||
If it was not you who requested this invitation, please ignore this email, or instantly revoke the invitation by clicking [here]({{ $invitation_link }}/revoke).
|
||||
|
||||
Thank you.
|
||||
</x-emails.layout>
|
||||
|
@@ -1,6 +1,7 @@
|
||||
A password reset requested for your email address on "{{ config('app.name') }}".<br><br>
|
||||
<x-emails.layout>
|
||||
A password reset has been requested for this email address on [{{ config('app.name') }}]({{ config('app.url') }}).
|
||||
|
||||
Please click the following link to reset your password: <a target="_blank" href="{{ $url }}">Password
|
||||
Reset</a><br><br>
|
||||
Click [here]({{ $url }}) to reset your password.
|
||||
|
||||
This password reset link will expire in {{ $count }} minutes.
|
||||
This link will expire in {{ $count }} minutes.
|
||||
</x-emails.layout>
|
||||
|
@@ -1,4 +1,6 @@
|
||||
Your last invoice has failed to be paid for Coolify Cloud. Please <a href="{{$stripeCustomerPortal}}">update payment details on your Stripe Customer Portal</a>.
|
||||
<br><br>
|
||||
Thanks,<br>
|
||||
Coolify Cloud
|
||||
<x-emails.layout>
|
||||
Your last invoice has failed to be paid for Coolify Cloud.
|
||||
|
||||
Please update payment details [here]({{$stripeCustomerPortal}}).
|
||||
|
||||
</x-emails.layout>
|
||||
|
@@ -1 +1,3 @@
|
||||
If you are seeing this, it means that your SMTP settings are correct.
|
||||
<x-emails.layout>
|
||||
If you are seeing this, it means that your Email settings are correct.
|
||||
</x-emails.layout>
|
||||
|
@@ -1,4 +1,9 @@
|
||||
Someone added this email to the Coolify Cloud's waitlist.
|
||||
<br>
|
||||
<a href="{{ $confirmation_url }}">Click here to confirm</a>! The link will expire in {{config('constants.waitlist.expiration')}} minutes.<br><br>
|
||||
You have no idea what <a href="https://coolify.io">Coolify Cloud</a> is or this waitlist? <a href="{{ $cancel_url }}">Click here to remove</a> you from the waitlist.
|
||||
<x-emails.layout>
|
||||
Someone added this email to the Coolify Cloud's waitlist. [Click here]({{ $confirmation_url }}) to confirm!
|
||||
|
||||
The link will expire in {{config('constants.waitlist.expiration')}} minutes.
|
||||
|
||||
|
||||
You have no idea what [Coolify Cloud](https://coolify.io) is or this waitlist? [Click here]({{ $cancel_url }}) to remove you from the waitlist.
|
||||
|
||||
</x-emails.layout>
|
||||
|
@@ -1,13 +1,19 @@
|
||||
You have been invited to join the Coolify Cloud. <a href="{{base_url()}}/login">Login here</a>
|
||||
<br>
|
||||
<br>
|
||||
<x-emails.layout>
|
||||
You have been invited to join the Coolify Cloud.
|
||||
|
||||
[Login here]({{base_url()}}/login)
|
||||
|
||||
Here is your initial login information.
|
||||
<br>
|
||||
Email: <br>
|
||||
{{ $email }}
|
||||
<br><br>
|
||||
Password:<br>
|
||||
{{ $password }}
|
||||
<br><br>
|
||||
|
||||
Email:
|
||||
|
||||
**{{ $email }}**
|
||||
|
||||
Initial Password:
|
||||
|
||||
**{{ $password }}**
|
||||
|
||||
(You will forced to change it on first login.)
|
||||
|
||||
</x-emails.layout>
|
||||
|
||||
|
Reference in New Issue
Block a user