Sha256: 85facbbab0a51ae195c6d9445b007095acadb6a86fd6d13e2f2515b1188e69b3
Contents?: true
Size: 874 Bytes
Versions: 13
Compression:
Stored size: 874 Bytes
Contents
table class="workers table table-hover table-bordered table-striped table-white" thead th = t('Worker') th = t('Queue') th = t('Class') th = t('Arguments') th = t('Started') - workers.each_with_index do |(worker, msg), index| tr td= worker td a href="#{root_path}queues/#{msg['queue']}" = msg['queue'] td= msg['payload']['class'] td - if msg['payload']['args'].to_s.size > 100 = msg['payload']['args'].inspect[0..100] + "... " button data-toggle="collapse" data-target="#worker_#{index}" class="btn btn-mini" = t('ShowAll') .toggle[id="worker_#{index}" style="display: none;max-width: 750px;"]= msg['payload']['args'] - else = msg['payload']['args'] td== relative_time(msg['run_at'].is_a?(Numeric) ? Time.at(msg['run_at']) : Time.parse(msg['run_at']))
Version data entries
13 entries across 13 versions & 2 rubygems