Sha256: 8151d3c9047688095f2b445bc378235096a63d9213d7eaa121dc6575a64984c1

Contents?: true

Size: 1.18 KB

Versions: 16

Compression:

Stored size: 1.18 KB

Contents

<div class="index-head">
  <h2>Iterations</h2>
  <%= link_to 'New iteration', new_iteration_path, :class => "add" %>
</div>
<table class="index">
  <tr>
    <th>Velocity</th>
    <th class="name">Name</th>
    <th>Start date</th>
    <th>End date</th>
    <th>&nbsp;</th>
  </tr>

<% @iterations.each do |iteration| %>
  <% @iteration = iteration -%>
  <tr class="<%=cycle('odd','even')%>">
    <td><%= in_place_editor_field 'iteration', 'velocity' %></td>
    <td><%= in_place_editor_field 'iteration', 'name' %></td>
    <td><%=h iteration.start_date.strftime('%d/%m/%Y') unless iteration.start_date.nil? %></td>
    <td><%=h iteration.end_date.strftime('%d/%m/%Y') unless iteration.end_date.nil? %></td>
    <td>
      <%=link_to 'Show', iteration_path(iteration) %>&nbsp;&nbsp;&bull;
      <%=link_to 'Stories', iteration_stories_path(iteration) %>&nbsp;&nbsp;&bull;
      <%= link_to 'Edit', edit_iteration_path(iteration) %>&nbsp;&nbsp;&bull;
      <%= link_to 'Destroy', iteration, :confirm => 'Are you sure you want to delete this iteration?', :method => :delete %>
    </td>
  </tr>
<% end %>
</table>
<br/>
<%= link_to 'New iteration', new_iteration_path, :class => "add" if @iterations.size > 10 %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
branston-0.6.6 lib/branston/app/views/iterations/index.html.erb
branston-0.6.5 lib/branston/app/views/iterations/index.html.erb
branston-0.6.4 lib/branston/app/views/iterations/index.html.erb
branston-0.6.3 lib/branston/app/views/iterations/index.html.erb
branston-0.6.2 lib/branston/app/views/iterations/index.html.erb
branston-0.6.1 lib/branston/app/views/iterations/index.html.erb
branston-0.6.0 lib/branston/app/views/iterations/index.html.erb
branston-0.5.2 lib/branston/app/views/iterations/index.html.erb
branston-0.5.1 lib/branston/app/views/iterations/index.html.erb
branston-0.5.0 lib/branston/app/views/iterations/index.html.erb
branston-0.4.6 lib/branston/app/views/iterations/index.html.erb
branston-0.4.5 lib/branston/app/views/iterations/index.html.erb
branston-0.4.4 lib/branston/app/views/iterations/index.html.erb
branston-0.4.3 lib/branston/app/views/iterations/index.html.erb
branston-0.4.2 lib/branston/app/views/iterations/index.html.erb
branston-0.4.1 lib/branston/app/views/iterations/index.html.erb