Fix BackgroundJobs page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-03-13 10:39:41 +02:00
parent ae4ae2b225
commit c4263dfbaf
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 6 additions and 12 deletions

View File

@ -14,27 +14,21 @@
%table.table
%thead
%th USER
%th
%th PID
%th
%th CPU
%th
%th MEM
%th
%th STATE
%th
%th START
%th
%th COMMAND
%th
- @sidekiq_processes.split("\n").each do |process|
%tbody
- @sidekiq_processes.each do |process|
- next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/)
- data = process.gsub!(/\s+/m, '|').strip.split('|')
- data = process.strip.split(' ')
%tr
- 6.times do
%td= Settings.gitlab.user
- 5.times do
%td= data.shift
%td
%td= data.join(" ")
%td= data.join(' ')
.clearfix
%p