]> _ Git - fluidbook-toolbox.git/commitdiff
wip #6717 @0:30
authorsoufiane <soufiane@cubedesigners.com>
Mon, 12 Feb 2024 16:48:10 +0000 (17:48 +0100)
committersoufiane <soufiane@cubedesigners.com>
Mon, 12 Feb 2024 16:48:10 +0000 (17:48 +0100)
app/Console/Commands/FluidbookSettingsExport.php

index 4d2de1f3032a479aa206d93c1d11011af7a3a9e5..65b7aed8f19964c04cc4a728ae99fc001f2f4093 100644 (file)
@@ -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 : <a href='.$url.' rel="noopener">'.$url.'</a>';
+        $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));
     }
 }