diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-27 16:28:20 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-27 16:28:20 +0000 |
| commit | dc4f784558db725eb555ce9668231b89aabb8954 (patch) | |
| tree | c66727af638d7f1716d32c94f20547b00afb999c /core/views/admin_maintenance.html.php | |
| parent | c4cdecc05f128bac3842852f114b96eaa821f2ca (diff) | |
* Refactor task management methods from admin_maintenance.php to
task.php
* Added a owner_id field to the task database
* Modified the admin maintenace to show the owner of the task
<<**** Requires a reinstallation of core ****>>
Diffstat (limited to 'core/views/admin_maintenance.html.php')
| -rw-r--r-- | core/views/admin_maintenance.html.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/views/admin_maintenance.html.php b/core/views/admin_maintenance.html.php index c2e28276..2570dcee 100644 --- a/core/views/admin_maintenance.html.php +++ b/core/views/admin_maintenance.html.php @@ -56,6 +56,9 @@ <?= t("Info") ?> </th> <th> + <?= t("Owner") ?> + </th> + <th> <?= t("Action") ?> </th> </tr> @@ -83,6 +86,9 @@ <?= $task->status ?> </td> <td> + <?= $task->user_name ?> + </td> + <td> <? if ($task->state == "stalled"): ?> <a href="<?= url::site("admin/maintenance/resume/$task->id?csrf=$csrf") ?>" class="gDialogLink"> <?= t("resume") ?> @@ -115,6 +121,9 @@ <?= t("Info") ?> </th> <th> + <?= t("Owner") ?> + </th> + <th> <?= t("Action") ?> </th> </tr> @@ -139,6 +148,9 @@ <?= $task->status ?> </td> <td> + <?= $task->user_name ?> + </td> + <td> <? if ($task->done): ?> <a href="<?= url::site("admin/maintenance/remove/$task->id?csrf=$csrf") ?>"> <?= t("remove") ?> |
