Update all email notifications

This commit is contained in:
James Brooks
2017-01-04 20:25:41 +00:00
parent a7f06b5dc7
commit 38773c84ac
4 changed files with 8 additions and 11 deletions

View File

@@ -87,7 +87,8 @@ class ComponentStatusChangedNotification extends Notification
->subject(trans('notifications.component.status_update.subject'))
->greeting(trans('notifications.component.status_update.title'))
->line($content)
->action('View Component', $this->component->link);
->action('View', cachet_route('status-page'))
->line(trans('cachet.subscriber.unsubscribe', ['link' => cachet_route('subscribe.unsubscribe', $notifiable->verify_code)]));
}
/**