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 2017/10/09 19:51:06 UTC

[whimsy] branch master updated: restore deleted statement

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 7c7f0cc  restore deleted statement
7c7f0cc is described below

commit 7c7f0cc28f7f6ec02acce2ce950698328505e2bd
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Oct 9 15:50:54 2017 -0400

    restore deleted statement
---
 www/board/agenda/routes.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/board/agenda/routes.rb b/www/board/agenda/routes.rb
index 4d37b9f..be6a065 100755
--- a/www/board/agenda/routes.rb
+++ b/www/board/agenda/routes.rb
@@ -367,6 +367,8 @@ get '/new' do
     reject {|date| draft[date.strftime('%B %d, %Y')] == 'approved'}
 
   template = File.read('data/agenda.erb')
+  @disabled = dir("board_agenda_*.txt").
+    include? @meeting.strftime("board_agenda_%Y_%m_%d.txt")
   @agenda = Erubis::Eruby.new(template).result(binding)
 
   @cssmtime = File.mtime('public/stylesheets/app.css').to_i

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].