Sha256: 50e5c67de85f963eda64f679e6d491743873a504941ce6ec74f6ecf159e5cb40

Contents?: true

Size: 1.55 KB

Versions: 16

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.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>

<% 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

16 entries across 16 versions & 1 rubygems

Version Path
backlog-0.12.0 app/views/works/list.rhtml
backlog-0.11.0 app/views/works/list.rhtml
backlog-0.12.1 app/views/works/list.rhtml
backlog-0.12.2 app/views/works/list.rhtml
backlog-0.12.4 app/views/works/list.rhtml
backlog-0.12.3 app/views/works/list.rhtml
backlog-0.13.0 app/views/works/list.rhtml
backlog-0.13.1 app/views/works/list.rhtml
backlog-0.14.0 app/views/works/list.rhtml
backlog-0.14.1 app/views/works/list.rhtml
backlog-0.14.3 app/views/works/list.rhtml
backlog-0.14.2 app/views/works/list.rhtml
backlog-0.14.4 app/views/works/list.rhtml
backlog-0.15.0 app/views/works/list.rhtml
backlog-0.16.0 app/views/works/list.rhtml
backlog-0.15.1 app/views/works/list.rhtml