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 fbbcfab8 Add email subject
fbbcfab8 is described below
commit fbbcfab8efe209114c064f04b10b4f05fd6e5a8b
Author: Sebb <[email protected]>
AuthorDate: Sat Feb 10 00:28:39 2024 +0000
Add email subject
---
www/members/member_nominations.cgi | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/www/members/member_nominations.cgi
b/www/members/member_nominations.cgi
index 0a24db5d..f9d23263 100755
--- a/www/members/member_nominations.cgi
+++ b/www/members/member_nominations.cgi
@@ -52,14 +52,17 @@ end
# @return true if we think it succeeded; false in all other cases
def process_form(formdata: {}, wunderbar: {})
statement = formdata['statement']
+ uid = formdata['availid']
_h3 'Copy of statement to put in an email (if necessary)'
- _pre statement
+ _pre do
+ _ "[MEMBER NOMINATION] #{ASF::Person.new(uid).public_name} (#{uid})\n"
+ _ statement
+ end
_hr
_h3 'Transcript of update to nomination file'
- uid = formdata['availid']
entry = ASF::MemberFiles.make_member_nomination({
availid: uid,
nomby: $USER,