You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2018/07/02 16:20:43 UTC
[whimsy] branch master updated: Set up PPMC items correctly
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 c668fd6 Set up PPMC items correctly
c668fd6 is described below
commit c668fd621dbfc35b0d104c45191a2461311251e3
Author: Sebb <se...@apache.org>
AuthorDate: Mon Jul 2 17:20:41 2018 +0100
Set up PPMC items correctly
PPMC uses different NOTICE PonyMail URL
---
www/project/icla/views/pages/invite.js.rb | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/www/project/icla/views/pages/invite.js.rb b/www/project/icla/views/pages/invite.js.rb
index 31bfdd1..a197bca 100644
--- a/www/project/icla/views/pages/invite.js.rb
+++ b/www/project/icla/views/pages/invite.js.rb
@@ -163,7 +163,11 @@ class Invite < Vue
end
if @showPMCNoticeLink or @showPPMCNoticeLink
_ 'Navigate to '
- _a "Ponymail", href: "https://lists.apache.org/list.html?board@apache.org:lte=1M:NOTICE%20for%20#{@display_name}", target: _blank
+ if @showPMCNoticeLink
+ _a "Ponymail", href: "https://lists.apache.org/list.html?board@apache.org:lte=1M:NOTICE%20for%20#{@display_name}", target: _blank
+ else
+ _a "Ponymail", href: "https://lists.apache.org/list.html?private@incubator.apache.org:lte=1M:NOTICE%20for%20#{@display_name}", target: _blank
+ end
_ ', select the appropriate message, right-click PermaLink, copy link'
_ ' to the clip-board, and paste the link here.'
_p
@@ -477,9 +481,9 @@ def setIclaName(event)
@showVoteFrame = false;
@showRoleFrame = false;
@showPMCVoteLink = @isPMC
- @showPPMCVoteLink = @isPMC
+ @showPPMCVoteLink = ! @isPMC
@showPMCNoticeLink = @isPMC
- @showPPMCNoticeLink = @isPMC
+ @showPPMCNoticeLink = ! @isPMC
@showVoteErrorMessage = false;
@showNoticeErrorMessage = false;
checkVoteLink() if document.getElementById('votelink');