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/03 21:46:16 UTC
[whimsy] branch master updated: Show the time period
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 b00ec24 Show the time period
b00ec24 is described below
commit b00ec24cb019df2cf49a782801bcf5e6acf76afd
Author: Sebb <se...@apache.org>
AuthorDate: Sat Jul 3 22:46:08 2021 +0100
Show the time period
---
www/officers/acreq.cgi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/officers/acreq.cgi b/www/officers/acreq.cgi
index 0c0b4f3..fa76486 100755
--- a/www/officers/acreq.cgi
+++ b/www/officers/acreq.cgi
@@ -37,6 +37,7 @@ projects = (pmcs + podlings + nonpmcs).uniq.sort
query = CGI::parse ENV['QUERY_STRING']
iclas = Array(query['iclas']).last
email = Array(query['email']).last
+count = 0
if iclas == 'all'
iclas = ASF::ICLA.unlisted_name_by_email
elsif iclas == '1' and email and (icla = ASF::ICLA.find_by_email(email)) and icla.noId?
@@ -170,7 +171,7 @@ _html do
_br
_a 'Show only ICLAs received recently', href: '?'
else
- _ 'Showing only ICLAs received recently.'
+ _ 'Showing only ICLAs received in the last %d days.' % 100
_br
_a 'Show the full list of ICLAs submitted', href: '?iclas=all'
end