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 4d7b978 skip over missing reports on meeting day unless either
flagged or the report appears in the "next month" section of committee-info.txt
4d7b978 is described below
commit 4d7b9789177631e5f40713279afc589e38c9b9d5
Author: Sam Ruby <[email protected]>
AuthorDate: Thu Mar 18 17:39:12 2021 -0400
skip over missing reports on meeting day unless either flagged or the report
appears in the "next month" section of committee-info.txt
---
www/board/agenda/views/models/agenda.js.rb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/views/models/agenda.js.rb
b/www/board/agenda/views/models/agenda.js.rb
index cfe6e48..bdbf58e 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -573,7 +573,13 @@ class Agenda
# determine if this report can be skipped during the course of the meeting
def skippable
return false if self.flagged
- return (@to == 'president') if self.missing and Agenda.meeting_day
+
+ if self.missing and Agenda.meeting_day
+ return true if @to == 'president'
+ return true unless @notes
+ return false
+ end
+
return false if @approved and @approved.length < 5 and Agenda.meeting_day
return true
end