Sha256: c19fe5b4358a9c0ebc3c2c76824ece4a381b4224785a8c1badfc5236962b4674

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 KB

Contents

  <div class="mainblock">
    <div class="btitle">
    	<%=render :partial => 'buttons'%>
        <h4><%=l :tasks%></h4>
    </div>
        
    <table>
      <%= render :partial => '/tasks/backlog_header', :locals => {:backlog => @backlog, :track_times => tasks.find {|t|t.period && t.period.active?}} %>
      <% i = 0 %>
      <% current_period = nil %>
      <% for @task in tasks %>
	    <% if @task.period != current_period %>
          <%= render :partial => '/tasks/period_header', :locals => {:period => @task.period} %>
          <%= render :partial => '/tasks/fields_header', :locals => {:backlog => @backlog, :active => true, :track_times => tasks.find {|t|t.period && t.period.active?}} %>
          <% current_period = @task.period %>
		<% end %>
        <%= render :partial => '/tasks/task/', :locals => {:task => @task, :i => i += 1, :active => true, :highlight_task => false, :update => :maincontent, :hidden => false} %>
      <% end %>
    </table>
    <%=back_or_link_to(l(:back)) %>
  </div>

  <div class="mainblock">
    <div class="btitle">
    	<h4><%=l(:completed_tasks) %></h4>
  	</div>

	<%=render :partial => '/tasks/completed', :locals => {:i => 1} %>
  </div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
backlog-0.12.0 app/views/backlogs/_tasks.rhtml
backlog-0.12.1 app/views/backlogs/_tasks.rhtml
backlog-0.12.2 app/views/backlogs/_tasks.rhtml
backlog-0.12.3 app/views/backlogs/_tasks.rhtml
backlog-0.12.4 app/views/backlogs/_tasks.rhtml