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

index 65b7aed8f19964c04cc4a728ae99fc001f2f4093..ab126bce4f60d2079edb75d8c740e3572a90451e 100644 (file)
@@ -47,7 +47,6 @@ class FluidbookSettingsExport extends ToolboxCommand
 
         $keys = array_keys(array_merge(...$settings));
 
-
         $excel = new Spreadsheet();
         $excel->getDefaultStyle()
             ->getNumberFormat()
@@ -98,11 +97,12 @@ 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 :';
+        $subject = "Export groupé des paramètres des fluidbooks prêt au téléchargement";
+        $notification = '';
         $action = [
             'Télécharger' => $url,
         ];
 
-        $user->notify(new ToolboxNotification("test", $notification, $action, true));
+        $user->notify(new ToolboxNotification($subject, $notification, $action, true));
     }
 }