Sha256: f081a79febb3a2962938143a85a375c1677ce3e6dfdaf70bbb121fa51e742b8f

Contents?: true

Size: 1.94 KB

Versions: 1

Compression:

Stored size: 1.94 KB

Contents

<div class='lead'>Output Categories:</div>
<% @job.output_categories.each do |category| %>
  <div class='row'>
    <div class='col-md-12'>
      <div class='status-message'><label><%= category.name.to_s.camelcase %>:</label></div>
      <div class='row'>
        <div class='col-md-12'>
          <table>
            <% if category.serializer %>
              <tr>
                <td><label>Serializer:</label></td>
                <td><%= category.serializer %></td>
              </tr>
            <% end %>
            <tr>
              <td><label>Collect nil output:</label></td>
              <td><%= category.nils %></td>
            </tr>
            <% if category.file_name %>
              <tr>
                <td><label>File Name:</label></td>
                <td><%= category.file_name %></td>
              </tr>
            <% end %>
            <% if category.format %>
              <tr>
                <td><label>Format:</label></td>
                <td><%= category.format %></td>
              </tr>
              <% if category.format_options %>
                <tr>
                  <td><label>Format Options:</label></td>
                  <td><pre><code><%= category.format_options.ai(plain: true, ruby19_syntax: true, sort_keys: true) %></code></pre></td>
                </tr>
              <% end %>
            <% end %>
            <% if category.columns %>
              <% first = true %>
              <% category.columns.each do |item| %>
                <% if first %>
                  <tr>
                    <td><label>Columns:</label></td>
                    <td><%= item %></td>
                  </tr>
                  <% first = false %>
                <% else %>
                  <tr>
                    <td></td>
                    <td><%= item %></td>
                  </tr>
                <% end %>
              <% end %>
            <% end %>
          </table>
        </div>
      </div>
    </div>
  </div>
  <br/>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rocketjob_mission_control-6.0.0.beta app/views/rocket_job_mission_control/jobs/_output_categories.html.erb