Sha256: df1c4021fbb691796c68c4f4b4be4da4ef2af954daf0a5d69bc378e66b1e2315
Contents?: true
Size: 1.35 KB
Versions: 15
Compression:
Stored size: 1.35 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.track_times? %> <th><%=l :started_at %></th> <% end %> <th><%=l :completed_at %></th> </tr> <% for work in @works %> <tr> <td><%=work.task.description if work.task %></td> <td><%=work.user && work.user.login %></td> <td><%=work.hours %></td> <% if @period && @period.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> <%=will_paginate @works %> <br /> <% 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
15 entries across 15 versions & 1 rubygems