Sha256: 1311b850ea40151b021eecc56636874735a0af7e312506ea8cd8e40cebaf1e32

Contents?: true

Size: 973 Bytes

Versions: 6

Compression:

Stored size: 973 Bytes

Contents

  <div class="mainblock">
    <div class="btitle">
    	<%=image_link_to 'arrow_up.png', l(:backlogs), :action => :list %>
      <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 %>
		  <tr><th colspan="6"><%=@task.period ? h(@task.period.name) : l(:unplanned_tasks)%></th></tr>
          <%= render :partial => '/tasks/fields_header', :locals => {:backlog => @backlog, :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} %>
      <% end %>
    </table>
  </div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
backlog-0.6.1 app/views/backlogs/_tasks.rhtml
backlog-0.6.2 app/views/backlogs/_tasks.rhtml
backlog-0.6.0 app/views/backlogs/_tasks.rhtml
backlog-0.6.3 app/views/backlogs/_tasks.rhtml
backlog-0.6.4 app/views/backlogs/_tasks.rhtml
backlog-0.6.5 app/views/backlogs/_tasks.rhtml