You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2022/04/06 14:00:49 UTC
[whimsy] branch master updated: add ability to filter based on status
This is an automated email from the ASF dual-hosted git repository.
rubys 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 21d37638 add ability to filter based on status
21d37638 is described below
commit 21d3763810aaefa420027f1a1f273e21f7ac3864
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Apr 6 09:58:35 2022 -0400
add ability to filter based on status
---
www/members/non-participants.cgi | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/www/members/non-participants.cgi b/www/members/non-participants.cgi
index 8cee803c..6f8525e4 100755
--- a/www/members/non-participants.cgi
+++ b/www/members/non-participants.cgi
@@ -82,6 +82,9 @@ _html do
matrix.each do |id, _name, first, missed|
next unless id
+ status = current_status[id]
+ next if @status and status != @status
+
if missed >= @meetingsMissed
_tr_ do
_td! {_a nameMap[id], href: "#{ROSTER}/#{id}"}
@@ -93,7 +96,7 @@ _html do
end
if meeting > today
- _td current_status[id]
+ _td status
end
end
count += 1