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/1] Commit a28a498: cross-check PMC against committers
Date Mon, 15 Feb 2016 16:06:39 GMT
Commit a28a4987a594ba3245c74563f5a66b67e4fd2207:
    cross-check PMC against committers


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@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

Mime
View raw message