This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  4df7af2   identify who was notified
4df7af2 is described below

commit 4df7af2669583edf3c781b7e7c73206baeeb6046
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Sep 20 11:42:00 2016 -0400

    identify who was notified
---
 www/secmail/templates/icla-pmc-notified.erb | 2 +-
 www/secmail/views/actions/icla.json.rb      | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/secmail/templates/icla-pmc-notified.erb 
b/www/secmail/templates/icla-pmc-notified.erb
index badeca7..6644426 100644
--- a/www/secmail/templates/icla-pmc-notified.erb
+++ b/www/secmail/templates/icla-pmc-notified.erb
@@ -2,7 +2,7 @@ Dear <%= @pubname %>,
 
 This message acknowledges receipt of your ICLA, which has been filed in the 
Apache Software Foundation records.
 
-With this message, your PMC has been notified that your ICLA has been filed.
+With this message, <%= @notify %> been notified that your ICLA has been filed.
 Please contact them with any questions.
 
 Warm Regards,
diff --git a/www/secmail/views/actions/icla.json.rb 
b/www/secmail/views/actions/icla.json.rb
index 73f63be..bbb8472 100644
--- a/www/secmail/views/actions/icla.json.rb
+++ b/www/secmail/views/actions/icla.json.rb
@@ -114,7 +114,9 @@ task "email #@email" do
   # chose reply based on whether or not the project/userid info was provided
   if @user and not @user.empty?
     reply = 'icla-account-requested.erb'
-  elsif @project and not @project.empty?
+  elsif pmc
+    @notify = "the #{pmc.display_name} PMC has"
+    @notify.sub 'has', "and the #{podling.display_name} podling have" if 
podling
     reply = 'icla-pmc-notified.erb'
   else
     reply = 'icla.erb'

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Reply via email to