Sha256: 016466a45f4a3b17bce203e7e19621426927e3d658efdfbbe0c6f4cff1667810

Contents?: true

Size: 540 Bytes

Versions: 14

Compression:

Stored size: 540 Bytes

Contents

<% output_line_set['output'].strip.split("\n").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(' ', '&nbsp;').html_safe + ':', :class => 'counter', :title => (output_line_set['timestamp'] && Time.at(output_line_set['timestamp']))) %>
    <%= content_tag(:div, (line.empty? ? '&nbsp;' : colorize_line(line)).html_safe, :class => 'content') %>
  <% end %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
foreman_remote_execution-1.5.6 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.6.3 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.6.2 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.5.5 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.6.1 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.6.0 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.5.4 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.5.3 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.5.2 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.5.1 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.5.0 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.4.6 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.4.5 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.4.4 app/views/template_invocations/_output_line_set.html.erb