9767: need to parse the json string of the workflow yaml
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_components_json.html.erb
1 <p>The components of this pipeline are in a format that Workbench does not recognize.</p>
2
3 <p>Error encountered: <b><%= error_name %></b></p>
4
5     <div id="components-accordion" class="panel panel-default">
6       <div class="panel-heading">
7         <h4 class="panel-title">
8           <a data-toggle="collapse" data-parent="#components-accordion" href="#components-json">
9             Show components JSON
10           </a>
11         </h4>
12       </div>
13       <div id="components-json" class="panel-collapse collapse">
14         <div class="panel-body">
15           <pre><%= Oj.dump(@object.components, indent: 2) %></pre>
16         </div>
17       </div>
18       <% if backtrace %>
19       <div class="panel-heading">
20         <h4 class="panel-title">
21           <a data-toggle="collapse" data-parent="#components-accordion" href="#components-backtrace">
22             Show backtrace
23           </a>
24         </h4>
25       </div>
26       <div id="components-backtrace" class="panel-collapse collapse">
27         <div class="panel-body">
28           <pre><%= backtrace %></pre>
29         </div>
30       </div>
31       <% end %>
32     </div>