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 2021/02/27 00:02:49 UTC
[whimsy] branch master updated: Show nominator for missing emails
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 3038a12 Show nominator for missing emails
3038a12 is described below
commit 3038a12da03ed1d94b0a31ac0f4992893efc15ef
Author: Sebb <se...@apache.org>
AuthorDate: Sat Feb 27 00:02:39 2021 +0000
Show nominator for missing emails
---
www/members/nominations.cgi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/www/members/nominations.cgi b/www/members/nominations.cgi
index 5d4b16b..78d130d 100755
--- a/www/members/nominations.cgi
+++ b/www/members/nominations.cgi
@@ -42,7 +42,7 @@ def setup_data
# parse nominations for names and ids
nominations = ASF::MemberFiles.member_nominees.map do |id, hash|
- {id: id, name: hash['Public Name']}
+ {id: id, name: hash['Public Name'], nominator: hash['Nominated by']}
end
# preload names
@@ -101,6 +101,8 @@ _html do
_a.present person.public_name, href: "#{ROSTER}/#{nominee[:id]}"
else
_a.missing person.public_name, href: "#{ROSTER}/#{nominee[:id]}"
+ _ ' Nominated by: '
+ _ nominee[:nominator]
end
if nominee[:name] != person.public_name