X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/61f8ceeb1d9b0786507d44ddceffce43fb9d13ae..a9b4a906124081439326fedc1a1e73fae9c2f40b:/apps/workbench/app/views/pipeline_instances/_running_component.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_running_component.html.erb b/apps/workbench/app/views/pipeline_instances/_running_component.html.erb index 9176652ca3..018d49f5e4 100644 --- a/apps/workbench/app/views/pipeline_instances/_running_component.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_running_component.html.erb @@ -4,9 +4,9 @@
<%# column offset 0 %> -
+

- + <%= pj[:name] %>

@@ -39,7 +39,7 @@ <% if current_job[:state] == "Queued" %> <%# column offset 5 %>
- <% queuetime = Time.now - current_job[:created_at] %> + <% queuetime = Time.now - Time.parse(current_job[:created_at].to_s) %> Queued for <%= render_runtime(queuetime, true) %>. <% begin %> <% if current_job[:queue_position] == 0 %> @@ -75,7 +75,7 @@
<% end %> - <% if current_job[:state].in? ["Queued", "Running"] %> + <% if current_job[:state].in? ["Queued", "Running"] and @object.editable? %> <%# column offset 11 %>
<%= form_tag "/jobs/#{current_job[:uuid]}/cancel", remote: true, style: "display:inline; padding-left: 1em" do |f| %>