X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/224f384d411bb1b4cccc7165c55bb64fd5c695ad..28e0fb829175415c533ea783d90ade8a39bdb236:/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 acf19fd6b4..3451923ead 100644 --- a/apps/workbench/app/views/work_units/_show_child.html.erb +++ b/apps/workbench/app/views/work_units/_show_child.html.erb @@ -1,9 +1,9 @@
-
+

- + <%= current_obj.label %>

@@ -14,12 +14,8 @@
<% if not current_obj %> -
+
<% else %> -
- <%= current_obj.link_to_log %> -
- <% walltime = current_obj.walltime %> <% cputime = current_obj.cputime %>
@@ -40,19 +36,6 @@ <%= current_obj.child_summary_str %>
- <% elsif current_obj.is_finished? %> -
- <% outputs = current_obj.outputs %> - <% if outputs.any? %> - <% if outputs.size == 1 %> - <%= link_to_arvados_object_if_readable(outputs[0], 'Output data not available', link_text: "Output of #{current_obj.label}") %> - <% else %> - <%= render partial: 'work_units/show_outputs', locals: {id: current_obj.uuid, outputs: outputs, align:"pull-right"} %> - <% end %> - <% else %> - No output. - <% end %> -
<% end %>
@@ -67,9 +50,11 @@
-
-
- <%= render partial: 'work_units/show_component', locals: {wu: current_obj} %> + <% name = if current_obj.respond_to?('name') then current_obj.name else '' end %> + <% kind = if !@object.is_a?(Hash) then ('arvados#' + @object.class.to_s.camelcase(:lower)) else '' end %> + <% content_url = url_for(controller: :work_units, action: :show_child_component, name: name) %> +
+