Sha256: 840259c2356067fbedcf3154ea1534f80a404d4f80584a868c884d962a080ca5
Contents?: true
Size: 904 Bytes
Versions: 2
Compression:
Stored size: 904 Bytes
Contents
- status = job.status(Time.zone) .id %label ID: = status.delete('id') .status-message %label Description: = status.delete('description') .status-message %label Duration: = status.delete('duration') .status-message %label Record Count: = status.delete('record_count') .created_at %label Created At: = status.delete('created_at') .status-message %label Started At: = status.delete('started_at') .status-message %label % Complete: = status.delete('percent_complete') - remaining = {} - status.each_pair do |key, value| .status-message - if ['state', '_type'].include?(key) - elsif value.kind_of?(Hash) || value.kind_of?(Array) - remaining[key] = value - else %label= "#{key.to_s.titleize}:" = value .clearfix - remaining.each_pair do |key, value| .status-message %label= "#{key.to_s.titleize}:" %pre %code= pretty_print_array_or_hash(value)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rocketjob_mission_control-1.0.0 | app/views/rocket_job_mission_control/jobs/_status.html.haml |
rocketjob_mission_control-0.9.2 | app/views/rocket_job_mission_control/jobs/_status.html.haml |