Sha256: 03ad3f11ff788864e87e1761c0e21d831e6f1eefb73226d2255f218af430f804

Contents?: true

Size: 528 Bytes

Versions: 12

Compression:

Stored size: 528 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;' : h(line)).html_safe, :class => 'content') %>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
foreman_remote_execution-1.4.3 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.4.2 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.7 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.6 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.4.1 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.5 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.4 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.3 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.2 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.1 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.3.0 app/views/template_invocations/_output_line_set.html.erb
foreman_remote_execution-1.2.2 app/views/template_invocations/_output_line_set.html.erb