[ARVADOS] updated: 451e52c2a7a6ead01e5ebca28e09dd02fcba49da

git at public.curoverse.com git at public.curoverse.com
Thu Sep 11 17:49:17 EDT 2014


Summary of changes:
 apps/workbench/app/controllers/projects_controller.rb | 7 +++++++
 1 file changed, 7 insertions(+)

       via  451e52c2a7a6ead01e5ebca28e09dd02fcba49da (commit)
      from  555c1e920855989e059a4be0503ebb627193f987 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 451e52c2a7a6ead01e5ebca28e09dd02fcba49da
Author: Phil Hodgson <bitbucket at philhodgson.net>
Date:   Thu Sep 11 17:49:15 2014 -0400

    3338: vital action missing from previous commit

diff --git a/apps/workbench/app/controllers/projects_controller.rb b/apps/workbench/app/controllers/projects_controller.rb
index 573e387..748072e 100644
--- a/apps/workbench/app/controllers/projects_controller.rb
+++ b/apps/workbench/app/controllers/projects_controller.rb
@@ -63,6 +63,13 @@ class ProjectsController < ApplicationController
     pane_list << { :name => 'Advanced' }
   end
 
+  def tab_counts
+    @tab_counts = {}
+    show_pane_list.each do |pane|
+      @tab_counts[pane[:name]] = @object.contents(filters: pane[:filters]).count if pane[:filters]
+    end
+  end
+
   def remove_item
     params[:item_uuids] = [params[:item_uuid]]
     remove_items

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list