<% %>
<% if @new_sub_tasks.count == 0 %>
無任務可添加
<% else %>
<% @new_sub_tasks.each_with_index do |sub_task,i| %>
<%=sub_task.task_name%>
<% end %>
<% end %>
<% work_times = @ruling_timer_temp.get_work_times(true) %>
<% work_times.each_with_index do |t,i| %>
<% if i % 2 == 0
next_t = work_times[i+1]
else
next
end %>
~ <% if next_t %><%else%>Now<%end%>
<% end %>