diff --git a/src/Controller/UploadController.php b/src/Controller/UploadController.php index f5e7812..2db1aec 100644 --- a/src/Controller/UploadController.php +++ b/src/Controller/UploadController.php @@ -122,7 +122,7 @@ public function integration($datastoreId, $uploadId) if (array_key_exists('vectordb_id', $upload['tags'])) { $vectordb = $this->plageApi->storedData->get($datastoreId, $upload['tags']['vectordb_id']); if (StoredDataStatuses::DELETED == $vectordb['status']) { - $this->addFlash('notice', sprintf('La donnée %s a été supprimée', $vectordb['_id'])); + $this->addFlash('notice', sprintf('La donnée %s n\'existe plus, elle a été supprimée.', $vectordb['_id'])); return $this->redirectToRoute('plage_datastore_view', ['datastoreId' => $datastoreId]); } diff --git a/templates/components/_flash_messages.html.twig b/templates/components/_flash_messages.html.twig index 43ff622..5a90d2a 100644 --- a/templates/components/_flash_messages.html.twig +++ b/templates/components/_flash_messages.html.twig @@ -3,28 +3,28 @@ {% for flashMessage in app.session.flashbag.get('error') %}
-
{{ flashMessage }}
+
{{ flashMessage }}
{% endfor %} {% for flashMessage in app.session.flashbag.get('warning') %}
- -
{{ flashMessage }}
+ +
{{ flashMessage }}
{% endfor %} {% for flashMessage in app.session.flashbag.get('notice') %}
- -
{{ flashMessage }}
+ +
{{ flashMessage }}
{% endfor %} {% for flashMessage in app.session.flashbag.get('success') %}
-
{{ flashMessage }}
+
{{ flashMessage }}
{% endfor %}