Sha256: 5dbcf674057a4ee03b544b1b1aa739a9ac908e1aad4f03d0e6e7a2d5519b3c27

Contents?: true

Size: 867 Bytes

Versions: 2

Compression:

Stored size: 867 Bytes

Contents

<table class="list">
  <thead>
    <tr>
      <th>Type</th>
      <th>Status</th>
      <% if show_target %><th>Target</th><% end %>
      <th>Created</th>
    </tr>
  </thead>
  <tbody>
    <% jobs.each_with_index do |job, i| %>
    <tr<%= cycle("", " class='alt'") %>>
      <td><%= job.name %></td>
      <td><%= job.status %></td>
      <%- if show_target -%>
        <%- if job.resource -%>
          <td><a href="/projects/<%= job.resource.project.id %>/resources/<%= job.resource.id %>"><%= job.resource.name %></a></td>
        <%- elsif job.scenario -%>
          <td><a href="/projects/<%= job.scenario.project.id %>/scenarios/<%= job.scenario.id %>"><%= job.scenario.name %></a></td>
        <%- else -%>
          <td>N/A</td>
        <%- end -%>
      <%- end -%>
      <td><%= timeago(job.created_at) %></td>
    </tr>
    <% end %>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coupler-0.0.7-java webroot/views/jobs/list.erb
coupler-0.0.6-java webroot/views/jobs/list.erb