Skip to content

Commit

Permalink
Revert; needed by the template
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Dec 29, 2023
1 parent 1e0d203 commit 29d35f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions www/board/agenda/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,14 @@ def server
@pmcs = ASF::Board.reporting(@meeting)
@owner = ASF::Board::ShepherdStream.new(actions)

# Get list of unpublished and unapproved minutes
draft = YAML.load_file(Dir["#{AGENDA_WORK}/board_minutes*.yml"].max)
@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'}.
sort

template = File.join(ASF::SVN['foundation_board'], 'templates', 'board_agenda.erb')
@disabled = dir("board_agenda_*.txt").
include? @meeting.strftime("board_agenda_%Y_%m_%d.txt")
Expand Down

0 comments on commit 29d35f7

Please sign in to comment.