X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8ed521f7fd1e48e1e415125745ed8c6627a62c91..1d77dec0f7bc1cca34d52288bd39ecd0a79be250:/apps/workbench/app/views/work_units/_show_child.html.erb diff --git a/apps/workbench/app/views/work_units/_show_child.html.erb b/apps/workbench/app/views/work_units/_show_child.html.erb index d0db8673f1..aad7d7bf2a 100644 --- a/apps/workbench/app/views/work_units/_show_child.html.erb +++ b/apps/workbench/app/views/work_units/_show_child.html.erb @@ -3,8 +3,8 @@

- - <%= current_obj.label %> + + <%= current_obj.label %>

@@ -18,10 +18,11 @@ <% else %> <% walltime = current_obj.walltime %> <% cputime = current_obj.cputime %> + <% runningtime = current_obj.runningtime %>
<% if walltime and cputime %> - <%= render_runtime(walltime, false) %> - <% if cputime > 0 %> / <%= render_runtime(cputime, false) %> (<%= (cputime/walltime).round(1) %>⨯)<% end %> + <%= render_runtime([walltime, runningtime].max, false) %> + <% if cputime > 0 %> / <%= render_runtime(cputime, false) %> (<%= (cputime/runningtime).round(1) %>⨯)<% end %> <% end %>