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 f8a0df95 Show replies for invitees
f8a0df95 is described below

commit f8a0df95d5bfe2c2abba467577b7321b1abbe079
Author: Sebb <[email protected]>
AuthorDate: Wed Mar 15 17:49:11 2023 +0000

    Show replies for invitees
---
 www/members/invitations.cgi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/members/invitations.cgi b/www/members/invitations.cgi
index 1f077ac4..676ea856 100755
--- a/www/members/invitations.cgi
+++ b/www/members/invitations.cgi
@@ -64,6 +64,10 @@ def setup_data
     v[:replied] = match_person(replies, id, v[:name], mails)
     v[:nominators] = nominated_by[id] || 'unknown'
   end
+  notapplied.each do |record|
+    mails = ASF::Person.new(record[-2]).all_mail
+    record << (match_person(replies, record[-2], record[-1], mails) ? 'yes' : 
'no')
+  end
   return notinvited, memappfile, invites, replies, nominated_by, notapplied
 end
 
@@ -126,6 +130,7 @@ _html do
       _table.table.table_striped do
         _tr do
           _th 'invited?'
+          _th 'Reply seen?'
           _th 'applied?'
           _th 'members@?'
           _th 'karma?'
@@ -135,8 +140,9 @@ _html do
 
         notapplied.each do |entry|
           _tr do
-            a, b, c, d, e, f = entry
+            a, b, c, d, e, f, g = entry
             _td a
+            _td g
             _td b
             _td c
             _td d

Reply via email to