Skip to content

Commit

Permalink
tweak unsub and other markdown email
Browse files Browse the repository at this point in the history
  • Loading branch information
gcavanunez committed Dec 2, 2024
1 parent bb8f2b7 commit a36e5f5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
18 changes: 9 additions & 9 deletions resources/views/emails/rejected-resource.blade.php
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>
9 changes: 6 additions & 3 deletions resources/views/emails/resource-digest.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

### Your friends at {{ config('app.name') }}

<x-mail::button :url="$unsubscribeUrl">
Unsubscribe
</x-mail::button>

<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::message>

0 comments on commit a36e5f5

Please sign in to comment.