Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_components_json.html.erb
index 9d1edbf264ff34a7d0c139aa2d7df8c3f3a9486e..4fdc8fbca0b088a39080670141ef783b3032c7ac 100644 (file)
@@ -1,3 +1,7 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <p>The components of this pipeline are in a format that Workbench does not recognize.</p>
 
 <p>Error encountered: <b><%= error_name %></b></p>
@@ -15,6 +19,7 @@
           <pre><%= Oj.dump(@object.components, indent: 2) %></pre>
         </div>
       </div>
+      <% if backtrace %>
       <div class="panel-heading">
         <h4 class="panel-title">
           <a data-toggle="collapse" data-parent="#components-accordion" href="#components-backtrace">
@@ -27,4 +32,5 @@
           <pre><%= backtrace %></pre>
         </div>
       </div>
+      <% end %>
     </div>