whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] 01/02: Revert "correct roster link for nonpmc's"
Date Wed, 10 Jul 2019 08:41:09 GMT
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

commit 0ff14597c919ea3fd0b6c602d3cd23391b4df54a
Author: Sebb <sebb@apache.org>
AuthorDate: Wed Jul 10 09:37:51 2019 +0100

    Revert "correct roster link for nonpmc's"
    
    This reverts commit d184b4a78baabfc92d3f261bfd8f8bca10edacc3.
---
 www/roster/views/actions/committee.json.rb | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/www/roster/views/actions/committee.json.rb b/www/roster/views/actions/committee.json.rb
index d1f8f68..3bf5856 100644
--- a/www/roster/views/actions/committee.json.rb
+++ b/www/roster/views/actions/committee.json.rb
@@ -65,12 +65,6 @@ if env.password
 
   from = ASF::Person.find(env.user)
 
-  if ASF::Committee.nonpmcs.include? pmc
-    project_type = 'nonpmc'
-  else
-    project_type = 'committee'
-  end
-
   # draft email
   mail = Mail.new do
     from "#{from.public_name} <#{from.id}@apache.org>".untaint
@@ -79,7 +73,7 @@ if env.password
     bcc "root@apache.org"
     subject "#{who} #{action} #{pmc.display_name} #{list}"
     body "Current roster can be found at:\n\n" +
-      "  https://whimsy.apache.org/roster/#{project_type}/#{pmc.id}\n\n" +
+      "  https://whimsy.apache.org/roster/committee/#{pmc.id}\n\n" +
       "LDAP details:\n\n  #{details.join("\n  ")}"
   end
 


Mime
View raw message