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 9c05bdd link feedback to prior report
9c05bdd is described below
commit 9c05bdd668a94f0739283461f6b7b6fadc6e7c30
Author: Sam Ruby <[email protected]>
AuthorDate: Tue May 30 10:12:03 2017 -0400
link feedback to prior report
---
www/board/agenda/views/pages/shepherd.js.rb | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/www/board/agenda/views/pages/shepherd.js.rb
b/www/board/agenda/views/pages/shepherd.js.rb
index fbf3546..6036d52 100644
--- a/www/board/agenda/views/pages/shepherd.js.rb
+++ b/www/board/agenda/views/pages/shepherd.js.rb
@@ -56,8 +56,11 @@ class Shepherd < React
unless followup.empty?
_h2 'Feedback that may require followup'
+
followup.each do |followup|
- _div.h3.ready followup.title
+ link = followup.title.gsub(/[^a-zA-Z0-9]+/, '-')
+ _a.h3.ready followup.title, href: "../#{@prior_date}/#{link}"
+
splitComments(followup.comments).each do |comment|
_pre.comment comment
end
@@ -74,11 +77,11 @@ class Shepherd < React
end
# determine date of previous meeting
- agenda = Server.agendas[-2]
- return unless agenda
- date = agenda[/\d+_\d+_\d+/].gsub('_', '-')
+ prior_agenda = Server.agendas[-2]
+ return unless prior_agenda
+ @prior_date = prior_agenda[/\d+_\d+_\d+/].gsub('_', '-')
- retrieve "../#{date}/followup.json", :json do |followup|
+ retrieve "../#{@prior_date}/followup.json", :json do |followup|
Shepherd.followup = followup
@followup = followup
end
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].