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

Version Path
backlog-0.3.6 app/views/works/list.rhtml
backlog-0.3.5 app/views/works/list.rhtml
backlog-0.3.7 app/views/works/list.rhtml
backlog-0.3.8 app/views/works/list.rhtml
backlog-0.3.9 app/views/works/list.rhtml
backlog-0.5.0 app/views/works/list.rhtml
backlog-0.4.0 app/views/works/list.rhtml
backlog-0.5.1 app/views/works/list.rhtml
backlog-0.5.2 app/views/works/list.rhtml
backlog-0.5.10 app/views/works/list.rhtml
backlog-0.5.3 app/views/works/list.rhtml
backlog-0.5.4 app/views/works/list.rhtml
backlog-0.5.6 app/views/works/list.rhtml
backlog-0.5.5 app/views/works/list.rhtml
backlog-0.5.7 app/views/works/list.rhtml
backlog-0.5.9 app/views/works/list.rhtml
backlog-0.5.8 app/views/works/list.rhtml
backlog-0.6.2 app/views/works/list.rhtml
backlog-0.6.0 app/views/works/list.rhtml
backlog-0.6.1 app/views/works/list.rhtml