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 762cbaa  Add Public Name
762cbaa is described below

commit 762cbaa2c84b3a21b72b2f3d46077377564847e7
Author: Sebb <[email protected]>
AuthorDate: Sat Jul 31 16:57:54 2021 +0100

    Add Public Name
---
 www/secretary/icla-dupes.cgi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/www/secretary/icla-dupes.cgi b/www/secretary/icla-dupes.cgi
index 9dd8120..3db7375 100755
--- a/www/secretary/icla-dupes.cgi
+++ b/www/secretary/icla-dupes.cgi
@@ -30,7 +30,7 @@ _html do
   ASF::ICLA.each do |icla|
     legal=icla.legal_name
     key = legal.split(' ').sort.join(' ')
-    dups[key] << {legal: legal, email: icla.email, claRef: icla.claRef, id: 
icla.id}
+    dups[key] << {legal: legal, public: icla.name,  email: icla.email, claRef: 
icla.claRef, id: icla.id}
   end
 
   _table do
@@ -38,6 +38,7 @@ _html do
       _th 'Key'
       _th 'Id'
       _th 'Legal Name'
+      _th 'Public Name'
       _th 'Email'
       _th 'CLAref'
     end
@@ -64,6 +65,12 @@ _html do
           end
           _td do
             val.each do |v|
+              _ v[:public]
+              _br
+            end
+          end
+          _td do
+            val.each do |v|
               _ v[:email]
               _br
             end

Reply via email to