Sha256: ff854a021b2632b39234e150c44940b208798354d1abb4f776c85a10c065461c
Contents?: true
Size: 1.54 KB
Versions: 61
Compression:
Stored size: 1.54 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 %></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> <% 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
61 entries across 61 versions & 1 rubygems