<%=user.name%> |
<% work_times = sub_task.get_work_times %>
<% work_times.each_with_index do |work_time,i| %>
<% next if i % 2 == 1 %>
<% next_time = work_times[i+1] %>
<% next_time = "Now" if next_time.nil? %>
<%= "#{work_time} ~ #{next_time}" %>
<% end %>
<%=t("ruling_timer.#{sub_task.status}")%>( <%=t("ruling_timer.total")%>: <%=sub_task.get_infos["work"] rescue "00:00:00" %> )
|