Sha256: de008bd0672c0a095ceb6793840af893c467407a26288433e814a3b892539f43

Contents?: true

Size: 898 Bytes

Versions: 3

Compression:

Stored size: 898 Bytes

Contents

<%= link_to "Submit New Report", new_story_path  %>
<table>
  <thead>
  <tr>
    <th class="type">Type</th>
    <th class="status">Status</th>
    <th>Description</th>
  </tr>
  </thead>
  <tbody>
  <% @stories.each do |story| %>
    <tr>
      <td class="type"><a href="<%= story.url %>" class="<%= story.story_type %>" title="<%= story.story_type %> <%= story.id %>"><%= story.story_type[0].capitalize %></a></td>
      <td class="status">
        <%= story.current_state.capitalize %>
        <% if story.current_state == 'delivered' %>
            <%= link_to 'Accept', accept_story_path(story.id), class: 'accept-btn' %>
            <%= link_to 'Reject', '#', class: 'reject-btn', :'data-reject-path' => reject_story_path(story.id) %>
        <% end %>
      </td>
      <td><%= story.name %></td>
    </tr>
  <% end %>
  </tbody>
</table>

<%= link_to "Submit New Report", new_story_path  %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pivotal_reporter-0.7.2 app/views/pivotal_reporter/stories/index.html.erb
pivotal_reporter-0.7.1 app/views/pivotal_reporter/stories/index.html.erb
pivotal_reporter-0.7.0 app/views/pivotal_reporter/stories/index.html.erb