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 fdef671f Show count as well
fdef671f is described below
commit fdef671fb1aa6007e9d481a50dce49981ed27105
Author: Sebb <[email protected]>
AuthorDate: Thu Apr 13 12:49:46 2023 +0100
Show count as well
---
www/members/watch.cgi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/www/members/watch.cgi b/www/members/watch.cgi
index f72ee248..e14fa596 100755
--- a/www/members/watch.cgi
+++ b/www/members/watch.cgi
@@ -124,8 +124,9 @@ _html do
status = status.map {|tokens| [tokens.pop, tokens]}.to_h
list = status.keys.map {|id| ASF::Person.find(id)}
_p do
- _ 'Accepted:'
- _ status.filter_map {|k, v| list.find{|p| p.name ==
k}.public_name.to_s if v[1] == 'yes' }.sort.join(', ')
+ accepted = status.filter_map {|k, v| list.find{|p| p.name ==
k}.public_name.to_s if v[1] == 'yes' }
+ _ "Accepted: (#{accepted.size}) "
+ _ accepted.sort.join(', ')
end
else
_h2_ 'From potential-member-watch-list.txt'