You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/02/15 17:06:39 UTC

[whimsy.git] [1/1] Commit a28a498: cross-check PMC against committers

Commit a28a4987a594ba3245c74563f5a66b67e4fd2207:
    cross-check PMC against committers


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

------------------------------------------------------------
www/roster/views/committee.js.rb                             | +++++++++ 
------------------------------------------------------------
9 changes: 9 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/roster/views/committee.js.rb b/www/roster/views/committee.js.rb
index 0afaace..ab0c2c8 100644
--- a/www/roster/views/committee.js.rb
+++ b/www/roster/views/committee.js.rb
@@ -254,12 +254,21 @@ def render
               data_target: '#confirm', data_toggle: 'modal',
               data_confirmation: "Remove #{@@person.name} from the " +
                 "#{@@committee.display_name} PMC?"
+
+            if not @@committee.committers[@@person.id]
+              _button.btn.btn_primary 'Add as a committer',
+                data_action: 'add commit', 
+                data_target: '#confirm', data_toggle: 'modal',
+                data_confirmation: "Grant #{@@person.name} committer access?"
+            end
           end
         end
       elsif not @@person.date
         _td.issue 'not in committee_info.txt'
       elsif not @@person.ldap
         _td.issue 'not in LDAP'
+      elsif not @@committee.committers[@@person.id]
+        _td.issue 'not in committer list'
       elsif @@person.id == @@committee.chair
         _td.chair 'chair'
       else