queue_dispatcher 1.1.8 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,6 @@
1
1
  #events
2
2
  %table#events_table.table.table-striped
3
3
  - @tasks.each do |task|
4
- = render :partial => 'queue_dispatcher_views/task_event', :locals => { :task => task }
4
+ = render :partial => 'queue_dispatcher_views/task_event', :locals => { task: task,
5
+ show_ids: defined?(show_ids) ? show_ids : false,
6
+ id_prefix: defined?(id_prefix) ? id_prefix : '' }
@@ -1,4 +1,6 @@
1
1
  #events
2
2
  %table#events_table.table.table-striped
3
3
  - @tasks.each do |task|
4
- = render :partial => 'queue_dispatcher_views/task_my_event', :locals => { :task => task }
4
+ = render :partial => 'queue_dispatcher_views/task_my_event', :locals => { task: task,
5
+ show_ids: defined?(show_ids) ? show_ids : false,
6
+ id_prefix: defined?(id_prefix) ? id_prefix : '' }
@@ -16,6 +16,8 @@
16
16
  = "#{task.perc_finished}%" if task.running?
17
17
  %td.qd_date= task.updated_at.to_s :history
18
18
  %td.qd_prosa
19
+ - if show_ids
20
+ #{id_prefix}#{task.id}:
19
21
  = task.prosa
20
22
  - unless task.error_msg.blank?
21
23
  = image_tag 'icon_expand.gif'
@@ -16,6 +16,8 @@
16
16
  = task.perc_finished if task.running?
17
17
  %td.qd_date= task.updated_at.to_s :history
18
18
  %td.qd_prosa
19
+ - if show_ids
20
+ #{id_prefix}#{task.id}:
19
21
  = task.prosa
20
22
  - unless task.error_msg.blank?
21
23
  = image_tag 'icon_expand.gif'
@@ -1,3 +1,3 @@
1
1
  module QueueDispatcher
2
- VERSION = "1.1.8"
2
+ VERSION = "1.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_dispatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.8
4
+ version: 1.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-04 00:00:00.000000000 Z
12
+ date: 2012-10-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sys-proctable