Skip to content

Commit 9702b7a

Browse files
committed
restored cron tasks admin template
1 parent 1a2e5e3 commit 9702b7a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

app/site/controllers/Admin/Cron.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function __construct(ContainerInterface $container, Request $request = nu
8989
*/
9090
protected function getTemplateName()
9191
{
92-
return 'base_admin_page';
92+
return 'cron';
9393
}
9494

9595
/**

templates/admin/cron.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
$this->layout('admin::layout', ['title' => $controller->getPageTitle()] + get_defined_vars()) ?>
3+
4+
<?php if ($action == 'list') : ?>
5+
<?= $last_beat;?>
6+
<div class="table-responsive">
7+
<?= $table; ?>
8+
</div>
9+
<?= $paginator; ?>
10+
<?php else : ?>
11+
<?= $form; ?>
12+
<?php endif; ?>

0 commit comments

Comments
 (0)