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 1802dbca Another Emeritus loc
1802dbca is described below
commit 1802dbca401b3a4f706bd484931de362981f9941
Author: Sebb <[email protected]>
AuthorDate: Tue Dec 19 17:57:52 2023 +0000
Another Emeritus loc
---
www/roster/views/nonpmc/committers.js.rb | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/www/roster/views/nonpmc/committers.js.rb
b/www/roster/views/nonpmc/committers.js.rb
index 8fe7ccad..7d16bc2d 100644
--- a/www/roster/views/nonpmc/committers.js.rb
+++ b/www/roster/views/nonpmc/committers.js.rb
@@ -70,10 +70,18 @@ class NonPMCCommitter < Vue
end
end
- if @@person.member
+ if @@person.member == true # full member
_td { _b { _a @@person.id, href: "committer/#{@@person.id}"} }
_td @@person.githubUsername
_td { _b @@person.name }
+ elsif @@person.member
+ _td { _i { _a @@person.id, href: "committer/#{@@person.id}"} }
+ _td @@person.githubUsername
+ _td { _i @@person.name
+ _ ' ('
+ _ @@person.member.sub(%r{( \(Non-voting\))? Member},
'').sub(%r{^Emeritus}, 'ASF Emeritus')
+ _ ')'
+ }
else
_td { _a @@person.id, href: "committer/#{@@person.id}" }
_td @@person.githubUsername