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 2018/03/30 14:27:14 UTC
[whimsy] branch master updated: hypertext link to agenda data
sources
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 3061237 hypertext link to agenda data sources
3061237 is described below
commit 306123754b758eea46348e442c25bd86f3d1b579
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Mar 30 10:26:57 2018 -0400
hypertext link to agenda data sources
---
www/officers/board-stats.cgi | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/www/officers/board-stats.cgi b/www/officers/board-stats.cgi
index ac3cf76..a722ac0 100755
--- a/www/officers/board-stats.cgi
+++ b/www/officers/board-stats.cgi
@@ -62,7 +62,15 @@ _html do
directors, others = agenda[PEOPLE].select{ |id, data| data['attending'] }.partition{ |id, data| 'director'.eql?(data['role']) }
_tr_ do
_td do
- _ month.sub('board_agenda_', '')
+ file = month + '.txt'
+ if not File.exist? "#{BOARD}/#{file}"
+ file = "archived_agendas/#{file}"
+ end
+
+ date = month.sub('board_agenda_', '')
+ _a date.gsub('_', '-'), href:
+ 'https://svn.apache.org/repos/private/foundation/board/' +
+ file
end
_td.text_center do
dct = directors.length
--
To stop receiving notification emails like this one, please contact
rubys@apache.org.