@switch($notification->type) @case(\App\Notifications\CommentCreateNotification::class)
@lang(':user commented the ticket :ticket', [ 'user' => $notification->data['user']['name'], 'ticket' => $notification->data['ticket']['title'] ]) @lang('View ticket details')
@break @case(\App\Notifications\TicketCreatedNotification::class)
@lang(':user created the ticket :ticket', [ 'user' => $notification->data['user']['name'], 'ticket' => $notification->data['ticket']['title'] ]) @lang('View ticket details')
@break @case(\App\Notifications\TicketUpdatedNotification::class)
@lang(':user updated the ticket :ticket', [ 'user' => $notification->data['user']['name'], 'ticket' => $notification->data['ticket']['title'] ])
@lang('Field:') {{ $notification->data['field'] }}
|
@lang('Before:') {{ $notification->data['before'] }}
|
@lang('After:') {{ $notification->data['after'] }}
@lang('View ticket details')
@break @endswitch