2872: all tests are updated to reflect the new ui.
[arvados.git] / apps / workbench / app / controllers / jobs_controller.rb
index 4705bb5204ed47ec9429901cb701b8ef69c3f984..8743a6ffffeb789416de26855e55347034a1dc64 100644 (file)
@@ -23,10 +23,11 @@ class JobsController < ApplicationController
   def index
     @svg = ""
     if params[:uuid]
-      @jobs = Job.where(uuid: params[:uuid])
-      generate_provenance(@jobs)
+      @objects = Job.where(uuid: params[:uuid])
+      generate_provenance(@objects)
     else
-      @jobs = Job.all
+      @limit = 20
+      super
     end
   end
 
@@ -43,6 +44,6 @@ class JobsController < ApplicationController
   end
 
   def show_pane_list
-    %w(Attributes Provenance Metadata JSON API)
+    %w(Details Provenance Advanced)
   end
 end