-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #613 from tighten/gc/fix-email-formatting
- Loading branch information
Showing
2 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<x-mail::message> | ||
Hello {{ $user->name }}, | ||
Hello {{ $user->name }}, | ||
|
||
The resource you suggested on [Onramp]({{ route('welcome', ['locale' => 'en']) }}) has been rejected by one of our reviewers: | ||
The resource you suggested on [Onramp]({{ route('welcome', ['locale' => 'en']) }}) has been rejected by one of our reviewers: | ||
|
||
<x-mail::panel> | ||
{{ $resource->name }}<br> | ||
[Resource URL]({{ $resource->url }}) | ||
###### *Submitted on {{ $resource->created_at->format('d-m-Y') }}* | ||
<x-mail::panel> | ||
{{ $resource->name }}<br> | ||
[Resource URL]({{ $resource->url }}) | ||
###### *Submitted on {{ $resource->created_at->format('d-m-Y') }}* | ||
|
||
**{{ $resource->rejected_reason }}** | ||
</x-mail::panel> | ||
**{{ $resource->rejected_reason }}** | ||
</x-mail::panel> | ||
|
||
We thank you for your contribution and encourage you to submit new resources that may be useful to the community. | ||
We thank you for your contribution and encourage you to submit new resources that may be useful to the community. | ||
</x-mail::message> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
<x-mail::message> | ||
# Here are the latest resources: | ||
# Here are the latest resources: | ||
|
||
<x-mail::panel> | ||
@foreach ($resources as $resource) | ||
- [{{ $resource['name'] }}]({{ $resource['url'] }}) | ||
Added on {{ \Carbon\Carbon::parse($resource['created_at'])->format('F j, Y') }} | ||
<x-mail::panel> | ||
@foreach ($resources as $resource) | ||
- [{{ $resource['name'] }}]({{ $resource['url'] }}) <br /> | ||
Added on {{ \Carbon\Carbon::parse($resource['created_at'])->format('F j, Y') }} | ||
|
||
@endforeach | ||
</x-mail::panel> | ||
@endforeach | ||
</x-mail::panel> | ||
|
||
### Happy Coding! | ||
### Happy Coding! | ||
|
||
### Your friends at {{ config('app.name') }} | ||
### Your friends at Tighten | ||
|
||
|
||
<x-mail::subcopy> | ||
You are receiving this email because you subscribed at [{{ config('app.name') }}]({{ config('app.url') }}).<br /> | ||
[Unsubscribe]({{ $unsubscribeUrl }}) | ||
</x-mail::subcopy> | ||
|
||
<x-mail::button :url="$unsubscribeUrl"> | ||
Unsubscribe | ||
</x-mail::button> | ||
</x-mail::message> |