summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-20 04:25:42 +0800
committer <unostar@danalan.info>2009-06-20 09:41:04 +0800
commitfb888c7598f163e839f204e7d03523c1e0012022 (patch)
treebc6f3bf691525cc632832dafc6b37bef765d3537 /modules
parentacadb3623b4e6c6ab5c8407c67fa12a8beb7db33 (diff)
Improve the task dialog
1) Put a "starting up..." message before there's any feedback from the server 2) show the title of the task in the dialog. Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/views/admin_maintenance_task.html.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/views/admin_maintenance_task.html.php b/modules/gallery/views/admin_maintenance_task.html.php
index 1ee02311..d9aecc60 100644
--- a/modules/gallery/views/admin_maintenance_task.html.php
+++ b/modules/gallery/views/admin_maintenance_task.html.php
@@ -23,8 +23,11 @@
}
</script>
<div id="gProgress">
+ <h1> <?= $task->name ?> </h1>
<div class="gProgressBar"></div>
- <div id="gStatus"></div>
+ <div id="gStatus">
+ <?= t("Starting up...") ?>
+ </div>
<div>
<button id="gPauseButton" class="ui-state-default ui-corner-all" onclick="dismiss()"><?= t("Pause") ?></button>
<button id="gDoneButton" class="ui-state-default ui-corner-all" style="display: none" onclick="dismiss()"><?= t("Done") ?></button>