mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Show a success flash message, after mass creation submit
This commit is contained in:
parent
ed4728fdb1
commit
a792a140f7
2 changed files with 1441 additions and 1431 deletions
|
@ -353,6 +353,10 @@ abstract class BaseAdminController extends AbstractController
|
||||||
$em->persist($result);
|
$em->persist($result);
|
||||||
}
|
}
|
||||||
$em->flush();
|
$em->flush();
|
||||||
|
|
||||||
|
if (count($results) > 0) {
|
||||||
|
$this->addFlash('success', t('entity.mass_creation_flash', ['%COUNT%' => count($results)]));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ret:
|
ret:
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue