Remove duplicate ERROR_ACTIONS constant from merge.
[arvados.git] / apps / workbench / app / controllers / jobs_controller.rb
index 9b52977b6ef32e47780ec26ede518d30840ab2e1..4705bb5204ed47ec9429901cb701b8ef69c3f984 100644 (file)
@@ -14,7 +14,10 @@ class JobsController < ApplicationController
       nodes << c
     end
 
-    @svg = ProvenanceHelper::create_provenance_graph nodes, "provenance_svg", {:all_script_parameters => true, :script_version_nodes => true}
+    @svg = ProvenanceHelper::create_provenance_graph nodes, "provenance_svg", {
+      :request => request,
+      :all_script_parameters => true, 
+      :script_version_nodes => true}
   end
 
   def index
@@ -31,7 +34,15 @@ class JobsController < ApplicationController
     generate_provenance([@object])
   end
 
+  def index_pane_list
+    if params[:uuid]
+      %w(Recent Provenance)
+    else
+      %w(Recent)
+    end
+  end
+
   def show_pane_list
-    %w(attributes provenance links json api)
+    %w(Attributes Provenance Metadata JSON API)
   end
 end