mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-28 18:53:58 -04:00
Add the scheduler component to the admin maintenance screen.
This commit is contained in:
@@ -33,12 +33,20 @@
|
||||
class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
|
||||
<?= t("run") ?>
|
||||
</a>
|
||||
<? if (module::is_active("scheduler")): ?>
|
||||
<a href="<?= url::site("form/add/admin/schedule/$task->callback?csrf=$csrf") ?>"
|
||||
class="g-dialog-link g-button ui-icon-left ui-state-default ui-corner-all">
|
||||
<?= t("schedule") ?>
|
||||
</a>
|
||||
<? endif ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endforeach ?>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?= $schedule_definitions ?>
|
||||
|
||||
<? if ($running_tasks->count()): ?>
|
||||
<div id="g-running-tasks">
|
||||
<h2> <?= t("Running tasks") ?> </h2>
|
||||
|
||||
Reference in New Issue
Block a user