X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6aab18f9688d46bc1f86f021d68e02e5601cfe7..b4b8e120c8ac43a16513079e2ae9f46bcdb9c35d:/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 ff9139221a..cac263d1ec 100644 --- a/apps/workbench/app/views/work_units/_show_component.html.erb +++ b/apps/workbench/app/views/work_units/_show_component.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <%# Work unit status %>
@@ -33,6 +37,54 @@ <% end %>
+<%# Display runtime error information %> +<% if wu.runtime_status.andand[:error] %> +
+
+
+ +
+ <% if wu.runtime_status[:errorDetail] %> +
<%= sanitize(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] %> +
<%= sanitize(wu.runtime_status[:warningDetail]) %>
+ <% else %> + No detailed information available. + <% end %> +
+
+
+
+<% end %> +

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