From: soufiane Date: Mon, 12 Feb 2024 16:48:10 +0000 (+0100) Subject: wip #6717 @0:30 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ad508fc324ee2f47852e6e96cf21782fae0faaff;p=fluidbook-toolbox.git wip #6717 @0:30 --- diff --git a/app/Console/Commands/FluidbookSettingsExport.php b/app/Console/Commands/FluidbookSettingsExport.php index 4d2de1f30..65b7aed8f 100644 --- a/app/Console/Commands/FluidbookSettingsExport.php +++ b/app/Console/Commands/FluidbookSettingsExport.php @@ -98,8 +98,11 @@ class FluidbookSettingsExport extends ToolboxCommand $writer->save($tmpfile); $url = route('download_settings', ['file' => base64_encode($tmpfile)]); - $notification = 'Cliquez sur ce lien pour télécharger l\'export des paramètres : '.$url.''; + $notification = 'Cliquez sur ce lien pour télécharger l\'export des paramètres :'; + $action = [ + 'Télécharger' => $url, + ]; - $user->notify(new ToolboxNotification("test", $notification, [], true)); + $user->notify(new ToolboxNotification("test", $notification, $action, true)); } }