Sha256: c1895e2d09560aa0ee81fb847b9c58697e34f405fefe5015bf3938d77ce81c5e
Contents?: true
Size: 625 Bytes
Versions: 38
Compression:
Stored size: 625 Bytes
Contents
<% output_line_set['output'].gsub("\r\n", "\n").sub(/\n\Z/, '').split("\n", -1).each do |line| %> <%= content_tag :div, :class => 'line ' + output_line_set['output_type'], :data => { :timestamp => output_line_set['timestamp'] } do %> <%= content_tag(:span, (@line_counter += 1).to_s.rjust(4).gsub(' ', ' ').html_safe + ':', :class => 'counter', :title => (output_line_set['timestamp'] && Time.at(output_line_set['timestamp']))) %> <%= content_tag(:div, colorize_line(line.gsub(JobInvocationOutputHelper::COLOR_PATTERN, '').empty? ? "#{line}\n" : line).html_safe, :class => 'content') %> <% end %> <% end %>
Version data entries
38 entries across 38 versions & 1 rubygems