Sha256: 57ac0f89b6e7c1842c6013195112b1b15b76ae20a96f619b6b38a23b8c061c0c

Contents?: true

Size: 781 Bytes

Versions: 4

Compression:

Stored size: 781 Bytes

Contents

<table class="list">
  <tr>
    <th>Type</th>
    <th>Status</th>
    <% if show_target %><th>Target</th><% end %>
    <th>Created</th>
  </tr>
  <% 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 %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coupler-0.0.4-java webroot/views/jobs/list.erb
coupler-0.0.3-java webroot/views/jobs/list.erb
coupler-0.0.2-java webroot/views/jobs/list.erb
coupler-0.0.1-java webroot/views/jobs/list.erb