minor fixes in pagination and alertbox stuff

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-04 16:12:25 +01:00
parent 30d64973c3
commit 8256f31374
11 changed files with 110 additions and 66 deletions

View File

@@ -36,8 +36,11 @@ if ($page == 'cronjobs' || $page == 'overview') {
\Froxlor\UI\Response::dynamic_error($e->getMessage());
}
UI::twigBuffer('user/table.html.twig', [
UI::twigBuffer('user/table-note.html.twig', [
'listing' => \Froxlor\UI\Listing::format($collection, $cron_list_data['cron_list']),
// alert-box
'type' => 'warning',
'alert_msg' => $lng['cron']['changewarning']
]);
UI::twigOutputBuffer();
} elseif ($action == 'new') {