<%=render :partial => 'title' %> <% if @tasks and not @tasks.empty? %> <% if @period.enable_subtasks? && @period.active? %> <% if @period.backlog.track_done -%> <% end %> <% for task in @tasks %> <%=render :partial => '/tasks/task', :locals => { :task => task, :i => i, :active => true } %> <% i += 1 %> <% end %>
<% end %> # <%=l :task %> <%=l :start if @period.backlog.track_times? && @period.active? %><%=l :done %><% if @period.backlog.track_todo %><%=l :todo %><% end %>
<% else %>

<%=l :no_pending_tasks%>

<% end %>