-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link to resource? #2
Comments
Not at the moment. Will add this feature soon. |
I am not sure if this is the same issue I am having or a different one. In the However, I am unable to click through the notifications that pop-up. is this expected behaviour, or there something missing in my setup. |
would be great to have a link! |
I needed a different template for the notifications on one of my projects so I made this PR #20 to allow custom notification templates You can change the notification template completely like this.
Will this feature help you guys @chrisbjr @ppisecky @tumainimosha @nilsE ? |
Here is how am doing it for now public function toArray($notifiable): array
{
$base_path = config('app.url') . config('nova.path');
return [
'level' => $this->level,
'message' => $this->message,
'url' => $base_path . '/resources/users/' . $this->user->id,
'target' => '_self'
];
} |
Is it possible to link to a resource in the notifications list?
The text was updated successfully, but these errors were encountered: