<% if @user_name %> <%=t("ruling_timer.user_work_history",{:user=>@user_name})%> <% else %> <%=t("ruling_timer.my_work_history")%> <% end %>

<% if @ruling_timer_temp %> <%= render :partial => "timer_work_row", :locals=>{:timer=>@ruling_timer_temp} %> <% end %> <% @ruling_timer_history.each do |timer_history| %> <%= render :partial => "timer_work_row", :locals=>{:timer=>timer_history} %> <% end %>
<%=t("ruling_timer.date")%> <%=t("ruling_timer.summary")%> <%=t("ruling_timer.work_time")%> <%=t("action")%>
<%= content_tag :div, class: "bottomnav clearfix" do content_tag(:div, paginate(@ruling_pager), class: "pagination pagination-centered") + link_to(t("ruling_timer.add_history"),add_history_admin_ruling_timer_path(:id=>(params[:id].nil? ? "current_user" : params[:id])),:class=>"btn btn-primary pull-right") end %>