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:21:02 UTC
[whimsy] branch master updated: Fix caching issue
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 48fdcf7 Fix caching issue
48fdcf7 is described below
commit 48fdcf700ce72c0b2821734ba0f956000d90b8e0
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jul 29 00:20:53 2021 +0100
Fix caching issue
---
www/roster/main.rb | 8 +-------
www/roster/views/iclaSearch.js.rb | 3 ---
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/www/roster/main.rb b/www/roster/main.rb
index fb67b26..7ef17fa 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -295,16 +295,10 @@ get '/icla/index.json' do
if not icla_index
# 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?
- if @auth[:secretary]
- 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}
- end
+ tmp << { name: icla.name, mail: icla.email}
end
}
icla_index = tmp.to_json
diff --git a/www/roster/views/iclaSearch.js.rb b/www/roster/views/iclaSearch.js.rb
index 58715c3..eac4f49 100644
--- a/www/roster/views/iclaSearch.js.rb
+++ b/www/roster/views/iclaSearch.js.rb
@@ -80,7 +80,6 @@ class IclaSearch < Vue
_tr do
_th 'public name'
_th 'email'
- _th 'ICLA'
end
end
@@ -89,8 +88,6 @@ class IclaSearch < Vue
_tr do
_td icla.name
_td icla.mail
- # iclapath already ends in /
- _td { _a icla.claRef, href: "#{@@iclapath}#{icla.iclaFile}" }
end
end