-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creating html email, check for unsubscribed_at on all emails.
- Loading branch information
Showing
8 changed files
with
73 additions
and
35 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
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
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
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
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
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
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
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,18 @@ | ||
Hey there {{{ $user->fullname }}}, | ||
|
||
Below are your updates: | ||
@foreach($projectsUpdated as $projectId => $userUpdates) | ||
<?php $project = Project::find($projectId)->firstOrFail(); ?> | ||
Here's your digest of updates! | ||
|
||
{{{ $project->name }}} | ||
@foreach($projectsUpdated as $projectId => $userUpdates) | ||
{{{ Project::where('id', $projectId)->first()->name }}} | ||
@foreach($userUpdates as $userUpdate) | ||
* {{{ $userUpdate->project_update->title }}} [{{ $userUpdate->project_update->href }}] | ||
@endforeach | ||
Unsubscribe from emails about {{ $project->name }}: {{ $project->unsubscribe_href }} | ||
|
||
@endforeach | ||
|
||
See something you don't like? Curate your subscriptions at {{ URL::action('Account\\DashboardController@getSubscriptions') }} | ||
|
||
Thanks, | ||
{{ Config::get('patchnotes.emails.updates.from.name') }} | ||
{{ Config::get('patchnotes.emails.updates.from.name') }} | ||
|
||
Unsubscribe from all emails from PatchNotes at {{ URL::action('HomeController@getUnsubscribe') }}?email={{ $user->email }}&token={{ $user->unsubscribe_token }} |