namespace BookStack\Activity\Notifications\Messages;
use BookStack\Activity\Models\Loggable;
+use BookStack\Activity\Notifications\MessageParts\LinkedMailMessageLine;
use BookStack\Users\Models\User;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Messages\MailMessage;
'activity_creator' => $this->user,
];
}
+
+ /**
+ * Build the common reason footer line used in mail messages.
+ */
+ protected function buildReasonFooterLine(): LinkedMailMessageLine
+ {
+ return new LinkedMailMessageLine(
+ url('/preferences/notifications'),
+ trans('notifications.footer_reason'),
+ trans('notifications.footer_reason_link'),
+ );
+ }
}