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 2019/09/29 19:29:45 UTC
[whimsy] branch master updated: include undrafted minutes in agenda
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 1953a9c include undrafted minutes in agenda
1953a9c is described below
commit 1953a9c6b9ee6c44230bdf519df4cd88bd05d11e
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Sep 29 15:28:44 2019 -0400
include undrafted minutes in agenda
---
www/board/agenda/routes.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index f8e4779..9031e14 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -536,7 +536,7 @@ get '/new' do
# Get list of unpublished and unapproved minutes
draft = YAML.load_file(Dir["#{AGENDA_WORK}/board_minutes*.yml"].sort.last)
- @minutes = dir("board_minutes_*.txt").
+ @minutes = dir("board_agenda_*.txt").
map {|file| Date.parse(file[/\d[_\d]+/].gsub('_', '-'))}.
reject {|date| date >= @meeting.to_date}.
reject {|date| draft[date.strftime('%B %d, %Y')] == 'approved'}.