Sha256: f941024b6e79a89fe8d773319c7b85674cb99d439546de0b344ea1b4ebdef42d

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

  <div class="mainblock">
    <div class="btitle">
    	<%=render :partial => 'buttons'%>
        <h4><%=l :tasks%></h4>
    </div>
        
<div id="active_tasks"<%=' style="display: none;"' unless @tasks and not @tasks.empty?%>>
    <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>
</div>

<p id="no_tasks_message"<%=' style="display: none;"' if @tasks and not @tasks.empty?%>><%=l :no_pending_tasks_in_backlog%></p>

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

1 entries across 1 versions & 1 rubygems

Version Path
backlog-0.13.0 app/views/backlogs/_tasks.rhtml