You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2021/07/28 23:04:09 UTC

[whimsy] branch master updated: No point showing claRef without file link

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 3e38a02  No point showing claRef without file link
3e38a02 is described below

commit 3e38a022649f3574a0dcd383ba20c591a7cc6c8d
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jul 29 00:04:00 2021 +0100

    No point showing claRef without file link
---
 www/roster/main.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/www/roster/main.rb b/www/roster/main.rb
index 4fe808e..fb67b26 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -294,7 +294,8 @@ get '/icla/index.json' do
 
   if not icla_index
 
-    # build a list of ICLA Public names, email addresses and icla files
+    # build a list of ICLA Public names, email addresses
+    # icla file names are only shown to secretary
     tmp = []
     ASF::ICLA.each {|icla|
       if icla.noId?
@@ -302,7 +303,7 @@ get '/icla/index.json' do
           iclaFile = ASF::ICLAFiles.match_claRef(icla.claRef) # must be secretary
           tmp << { name: icla.name, mail: icla.email, claRef: icla.claRef, iclaFile: iclaFile}
         else
-          tmp << { name: icla.name, mail: icla.email, claRef: icla.claRef}
+          tmp << { name: icla.name, mail: icla.email}
         end
       end
     }