You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/09/10 23:29:50 UTC
[whimsy] branch master updated: add checkbox to PPMC add dialog too
This is an automated email from the ASF dual-hosted git repository.
rubys 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 3b840bc add checkbox to PPMC add dialog too
3b840bc is described below
commit 3b840bc07f3cd2276a5965125f52022368a2e0e2
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Sep 10 19:29:36 2017 -0400
add checkbox to PPMC add dialog too
---
www/roster/views/ppmc/add.js.rb | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/www/roster/views/ppmc/add.js.rb b/www/roster/views/ppmc/add.js.rb
index 6f2eb9c..e74d310 100644
--- a/www/roster/views/ppmc/add.js.rb
+++ b/www/roster/views/ppmc/add.js.rb
@@ -47,6 +47,15 @@ class PPMCAdd < Vue
_CommitterSearch add: self.add,
exclude: @@project.roster.keys().
concat(@people.map {|person| person.id})
+
+ _p do
+ _label do
+ _input type: 'checkbox', checked: @notice_elapsed
+ _a '72 hour Notice',
+ href: 'https://incubator.apache.org/guides/ppmc.html#voting_in_a_new_ppmc_member'
+ _span ' period elapsed?'
+ end
+ end
end
end
@@ -64,7 +73,8 @@ class PPMCAdd < Vue
onClick: self.post, disabled: (@people.empty?)
_button.btn.btn_primary 'Add to PPMC', onClick: self.post,
- data_action: 'add ppmc committer', disabled: (@people.empty?)
+ data_action: 'add ppmc committer',
+ disabled: (@people.empty? or not @notice_elapsed)
end
if @@auth.ipmc
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].