diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-01 16:28:52 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-02-01 16:28:52 -0800 |
commit | 48cb5021c6bd7e65a13a0ff50a9e76f72da7d3a1 (patch) | |
tree | 425c3d26e864a760e52193aa9f8751a36c0d24a0 /modules/gallery/views/admin_maintenance.html.php | |
parent | 43985ea2fb137aa7d532617271e37d7c20def3c5 (diff) |
Add the scheduler component to the admin maintenance screen.
Diffstat (limited to 'modules/gallery/views/admin_maintenance.html.php')
-rw-r--r-- | modules/gallery/views/admin_maintenance.html.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_maintenance.html.php b/modules/gallery/views/admin_maintenance.html.php index ac597715..15d04caa 100644 --- a/modules/gallery/views/admin_maintenance.html.php +++ b/modules/gallery/views/admin_maintenance.html.php @@ -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> |