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:31:39 UTC
[whimsy] branch master updated: more hypertext links
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 45a6913 more hypertext links
45a6913 is described below
commit 45a69134595f706633796f1df45c4537c2a9c278
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Mar 30 10:31:29 2018 -0400
more hypertext links
---
www/officers/board-stats.cgi | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/www/officers/board-stats.cgi b/www/officers/board-stats.cgi
index a722ac0..22cad1b 100755
--- a/www/officers/board-stats.cgi
+++ b/www/officers/board-stats.cgi
@@ -10,6 +10,8 @@ require 'json'
require 'set'
BOARD = ASF::SVN['private/foundation/board']
+REPO = 'https://svn.apache.org/repos/private/foundation/board/'
+
# Hash keys returned by summarize
ERRORS = 'errors'
PEOPLE = 'people'
@@ -67,10 +69,8 @@ _html do
file = "archived_agendas/#{file}"
end
- date = month.sub('board_agenda_', '')
- _a date.gsub('_', '-'), href:
- 'https://svn.apache.org/repos/private/foundation/board/' +
- file
+ _a month.sub('board_agenda_', '').gsub('_', '-'),
+ href: "#{REPO}/#{file}"
end
_td.text_center do
dct = directors.length
@@ -115,7 +115,9 @@ _html do
_ul do
datums.select{ |k,v| v.is_a?(Hash) && v.has_key?(ERRORS) }.each do |month, agenda|
_li do
- _span.text_warning month
+ _a href: "#{REPO}/archived_agendas/#{month}.txt" do
+ _span.text_warning month
+ end
end
end
end
--
To stop receiving notification emails like this one, please contact
rubys@apache.org.