queue_dispatcher 1.1.15 → 1.1.16
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/tasks_helper.rb +9 -4
- data/lib/queue_dispatcher/version.rb +1 -1
- metadata +1 -1
data/app/helpers/tasks_helper.rb
CHANGED
@@ -3,10 +3,15 @@ module TasksHelper
|
|
3
3
|
icon = 'icon_warning.gif'
|
4
4
|
alt = 'Unknwon'
|
5
5
|
|
6
|
-
if task.pending?
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
if task.pending?
|
7
|
+
if task.reloading_config?
|
8
|
+
icon = 'icon_init_queue.gif'
|
9
|
+
alt = 'Reloading Config'
|
10
|
+
else
|
11
|
+
icon = 'icon_pending.gif'
|
12
|
+
alt = 'Pending'
|
13
|
+
end
|
14
|
+
elsif task.init_queue?
|
10
15
|
icon = 'icon_init_queue.gif'
|
11
16
|
alt = 'Initialize Queue'
|
12
17
|
elsif task.acquire_lock?
|