Sha256: a555bab6646820df3be75e22764e43f57a61df403748b410b8a91c14d098b970

Contents?: true

Size: 1.4 KB

Versions: 6

Compression:

Stored size: 1.4 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?%>>
  <%#=render :partial => '/tasks/backlog_header', :locals => {:backlog => @backlog, :track_times => tasks.find {|t|t.period && t.period.active?}} %>
  <% i = 0 %>
  <% for period in @tasks.map {|t| t.period}.uniq %>
    <table id="active_tasks_<%=period ? period.id : 'unplanned' %>">
      <%=render :partial => '/tasks/period_header', :locals => {:period => period} %>
      <%=render :partial => '/tasks/fields_header', :locals => {:backlog => @backlog, :active => true, :track_times => tasks.find {|t|t.period && t.period.active?}} %>
      <% for @task in @tasks.select {|t| t.period_id == (period && period.id)} %>
        <%=render :partial => '/tasks/task/', :locals => {:task => @task, :i => i += 1, :active => true, :highlight_task => false, :update => :maincontent, :hidden => false} %>
      <% end %>
    </table>
  <% end %>
</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

6 entries across 6 versions & 1 rubygems

Version Path
backlog-0.13.1 app/views/backlogs/_tasks.rhtml
backlog-0.14.0 app/views/backlogs/_tasks.rhtml
backlog-0.14.2 app/views/backlogs/_tasks.rhtml
backlog-0.14.1 app/views/backlogs/_tasks.rhtml
backlog-0.14.3 app/views/backlogs/_tasks.rhtml
backlog-0.14.4 app/views/backlogs/_tasks.rhtml