whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Show counts of members
Date Wed, 05 Dec 2018 17:18:57 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 29ea99e  Show counts of members
29ea99e is described below

commit 29ea99ec720394d0fbea443187a8820fc3dee53c
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Dec 5 17:18:46 2018 +0000

    Show counts of members
---
 www/roster/views/pmc/committers.js.rb  | 6 +++---
 www/roster/views/pmc/pmc.js.rb         | 2 +-
 www/roster/views/ppmc/committers.js.rb | 6 +++---
 www/roster/views/ppmc/members.js.rb    | 3 ++-
 4 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/www/roster/views/pmc/committers.js.rb b/www/roster/views/pmc/committers.js.rb
index 1593162..7490de5 100644
--- a/www/roster/views/pmc/committers.js.rb
+++ b/www/roster/views/pmc/committers.js.rb
@@ -9,12 +9,12 @@ class PMCCommitters < Vue
         @@committee.members.include? id
       end
     then
-      _h2.committers! 'Committers' 
+      _h2.committers! 'Committers (' + committers.length + ')' 
       _p 'All committers are members of the PMC'
     else
       _h2.committers! do
-        _ 'Committers'
-        _small ' (excluding PMC members above)'
+        _ 'Committers (' + committers.length + ')' 
+        _small ' (the listing excludes PMC members above)'
       end
       _p 'Click on column name to sort'
       _table.table.table_hover do
diff --git a/www/roster/views/pmc/pmc.js.rb b/www/roster/views/pmc/pmc.js.rb
index 447a09c..822d6fe 100644
--- a/www/roster/views/pmc/pmc.js.rb
+++ b/www/roster/views/pmc/pmc.js.rb
@@ -9,7 +9,7 @@ class PMCMembers < Vue
   end
 
   def render
-    _h2.pmc! 'PMC'
+    _h2.pmc! 'PMC (' + roster.length + ')'
     _p 'Click on column name to sort'
     _table.table.table_hover do
       _thead do
diff --git a/www/roster/views/ppmc/committers.js.rb b/www/roster/views/ppmc/committers.js.rb
index dd47675..9894136 100644
--- a/www/roster/views/ppmc/committers.js.rb
+++ b/www/roster/views/ppmc/committers.js.rb
@@ -13,12 +13,12 @@ class PPMCCommitters < Vue
         @@ppmc.owners.include? id
       end
     then
-      _h2.committers! 'Committers'
+      _h2.committers! 'Committers (' + committers.length + ')'
       _p 'All committers are members of the PPMC'
     else
       _h2.committers! do
-        _ 'Committers'
-        _small ' (excluding PPMC members above)'
+        _ 'Committers (' + committers.length + ')'
+        _small ' (the listing excludes PPMC members above)'
       end
       _p 'Click on column name to sort'
       _table.table.table_hover do
diff --git a/www/roster/views/ppmc/members.js.rb b/www/roster/views/ppmc/members.js.rb
index f4dab81..c1ee037 100644
--- a/www/roster/views/ppmc/members.js.rb
+++ b/www/roster/views/ppmc/members.js.rb
@@ -4,7 +4,8 @@
 
 class PPMCMembers < Vue
   def render
-    _h2.ppmc! 'PPMC'
+    _h2.ppmc! 'PPMC (' + roster.length + ')'
+    _p '(the listing below excludes mentors)'
     _table.table.table_hover do
       _thead do
         _tr do


Mime
View raw message