whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/2] Commit 3300a02: exclude LDAP too
Date Mon, 15 Feb 2016 21:56:02 GMT
Commit 3300a0200e0939ef513eed54ea26af83d2bd5aae:
    exclude LDAP too


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/roster/views/pmc/committers.js.rb                        | ++++++ -
------------------------------------------------------------
7 changes: 6 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/roster/views/pmc/committers.js.rb b/www/roster/views/pmc/committers.js.rb
index f079330..030464e 100644
--- a/www/roster/views/pmc/committers.js.rb
+++ b/www/roster/views/pmc/committers.js.rb
@@ -4,7 +4,11 @@
 
 class PMCCommitters < React
   def render
-    if @@committee.committers.keys().all? {|id| @@committee.roster[id]}
+    if
+      @@committee.committers.keys().all? do |id|
+        @@committee.roster[id] or @@committee.ldap[id]
+      end
+    then
       _p 'All committers are members of the PMC'
     else
       _h2 'Committers'
@@ -19,6 +23,7 @@ def render
         _tbody do
           @committers.each do |person|
             next if @@committee.roster[person.id]
+            next if @@committee.ldap[person.id]
             _PMCCommitter auth: @@auth, person: person, committee: @@committee
           end
 

Mime
View raw message