X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c86cbaa6f286e50900dae3203a42044449e042f7..42c20b25e1325124b88e3b9b285544dc41122b56:/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..4cce090a22 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] %> +
<%= 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}) %>