X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f644e242ef37c911ad3dc25aca8135c339de349..7499f61a2912cfdb1a316808fafa6e6ee77ee2e0:/apps/workbench/app/views/work_units/_show_component.html.erb diff --git a/apps/workbench/app/views/work_units/_show_component.html.erb b/apps/workbench/app/views/work_units/_show_component.html.erb index 3bba31f782..4cce090a22 100644 --- a/apps/workbench/app/views/work_units/_show_component.html.erb +++ b/apps/workbench/app/views/work_units/_show_component.html.erb @@ -37,6 +37,54 @@ SPDX-License-Identifier: AGPL-3.0 %> <% end %> +<%# Display runtime error information %> +<% if wu.runtime_status.andand[:error] %> +
+
+
+ +
+ <% if wu.runtime_status[:errorDetail] %> +
<%= h(wu.runtime_status[:errorDetail]) %>
+ <% else %> + No detailed information available. + <% end %> +
+
+
+
+<% end %> + +<%# Display runtime warning message %> +<% if wu.runtime_status.andand[:warning] %> +
+
+
+ +
+ <% if wu.runtime_status[:warningDetail] %> +
<%= h(wu.runtime_status[:warningDetail]) %>
+ <% else %> + No detailed information available. + <% end %> +
+
+
+
+<% end %> +

<%= render(partial: 'work_units/component_detail', locals: {current_obj: wu}) %>