Sha256: fc069450792bdd38774f1898e201610915f42560bb2ae10962dccb71f7538e82
Contents?: true
Size: 1.55 KB
Versions: 1
Compression:
Stored size: 1.55 KB
Contents
<% @page_title = l(:listing_works) + (@period ? " for #{@period}" : '') %> <div id="spotlight"> <% if @period %> <%=render :partial => '/periods/title' %> <% end %> <table> <tr> <th><%=l :task %></th> <th><%=l :user %></th> <th><%=l :done %></th> <% if @period && @period.backlog.track_times? %> <th><%=l :started_at %></th> <% end %> <th><%=l :completed_at %></th> </tr> <% for work in @works %> <tr> <td><%=work.task.description %></td> <td><%=work.user && work.user.login %></td> <td><%=work.hours %></td> <% if @period && @period.backlog.track_times? %> <td><%=work.started_at && work.started_at.strftime('%Y-%m-%d %H:%M:%S') %></td> <% end %> <td><%=work.completed_at && work.completed_at.strftime('%Y-%m-%d %H:%M:%S') %></td> <td><%= link_to 'Show', :controller => 'works', :action => 'show', :id => work %></td> <td><%= link_to 'Edit', :controller => 'works', :action => 'edit', :id => work %></td> <td><%= link_to 'Destroy', { :controller => 'works', :action => 'destroy', :id => work }, :confirm => 'Are you sure?', :method => :post %></td> </tr> <% end %> </table> <% if @work_pages %> <%= link_to 'Previous page', { :page => @work_pages.current.previous } if @work_pages.current.previous %> <%= link_to 'Next page', { :page => @work_pages.current.next } if @work_pages.current.next %> <br /> <% end %> <% if @period %> <%= link_to l(:back), :controller => 'periods', :action => :show, :id => @period %> <% end %> </div> <% if @period %> <%=render :partial => '/periods/burn_down_chart' %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
backlog-0.0.4 | app/views/works/list.rhtml |