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 24b56f9c Show non-PMC members more clearly
24b56f9c is described below

commit 24b56f9c0e29932f97ec31ed652ad5c12c12f0bd
Author: Sebb <[email protected]>
AuthorDate: Wed Mar 13 16:46:42 2024 +0000

    Show non-PMC members more clearly
---
 www/roster/views/pmc/members.js.rb | 27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

diff --git a/www/roster/views/pmc/members.js.rb 
b/www/roster/views/pmc/members.js.rb
index d98b6c35..56222881 100644
--- a/www/roster/views/pmc/members.js.rb
+++ b/www/roster/views/pmc/members.js.rb
@@ -170,6 +170,7 @@ class PMCMember < Vue
   end
 
   def render
+    style = @@person.date ? '' : 'text-decoration: line-through'
     _tr do
       if @@auth
         _td do
@@ -178,27 +179,27 @@ class PMCMember < Vue
         end
       end
       if @@person.member == true # full member
-        _td { _b { _a @@person.id, href: "committer/#{@@person.id}" }
-              _a ' (*)', href: "committee/#{@@committee.id}#crosscheck" if 
@@person.notSubbed
+        _td { _b { _a @@person.id, href: "committer/#{@@person.id}", style: 
style }
+              _a ' (*)', href: "committee/#{@@committee.id}#crosscheck", 
style: style if @@person.notSubbed
             }
-        _td @@person.githubUsername
-        _td { _b @@person.name }
+        _td @@person.githubUsername, style: style
+        _td { _b @@person.name, style: style }
       elsif @@person.member
-        _td { _i { _a @@person.id, href: "committer/#{@@person.id}" }
-              _a ' (*)', href: "committee/#{@@committee.id}#crosscheck" if 
@@person.notSubbed
+        _td { _i { _a @@person.id, href: "committer/#{@@person.id}", style: 
style }
+              _a ' (*)', href: "committee/#{@@committee.id}#crosscheck", 
style: style if @@person.notSubbed
             }
-        _td @@person.githubUsername
-        _td { _i @@person.name
+        _td @@person.githubUsername, style: style
+        _td { _i @@person.name, style: style
               _ ' ('
-              _ @@person.member.sub(%r{( \(Non-voting\))? Member}, 
'').sub(%r{^Emeritus}, 'ASF Emeritus')
+              _ @@person.member.sub(%r{( \(Non-voting\))? Member}, 
'').sub(%r{^Emeritus}, 'ASF Emeritus'), style: style
               _ ')'
             }
       else
-        _td { _a @@person.id, href: "committer/#{@@person.id}"
-              _a ' (*)', href: "committee/#{@@committee.id}#crosscheck" if 
@@person.notSubbed
+        _td { _a @@person.id, href: "committer/#{@@person.id}", style: style
+              _a ' (*)', href: "committee/#{@@committee.id}#crosscheck", 
style: style if @@person.notSubbed
             }
-        _td @@person.githubUsername
-        _td @@person.name
+        _td @@person.githubUsername, style: style
+        _td @@person.name, style: style
       end
 
       _td @@person.date

Reply via email to