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/01/16 15:27:15 UTC
[whimsy] 01/02: add reporting schedule
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
commit a6d6b132f41f50cec667f3eb88c44cfbfa64f946
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Jan 16 10:25:31 2017 -0500
add reporting schedule
---
www/roster/models/ppmc.rb | 3 ++-
www/roster/views/ppmc/main.js.rb | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/www/roster/models/ppmc.rb b/www/roster/models/ppmc.rb
index 4517adc..00325c2 100644
--- a/www/roster/models/ppmc.rb
+++ b/www/roster/models/ppmc.rb
@@ -23,7 +23,8 @@ class PPMC
roster: ppmc.members.map {|person|
[person.id, {name: person.public_name, member: person.asf_member?}]
}.to_h,
- mail: Hash[lists.sort]
+ mail: Hash[lists.sort],
+ schedule: ppmc.reporting,
}
response
diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index 69baac4..54af090 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -40,6 +40,17 @@ class PPMC < React
end
end
+ # reporting schedule
+ _h2.reporting! 'Reporting Schedule'
+ _ul do
+ _li @ppmc.schedule.join(', ')
+
+ _li do
+ _a 'Prior reports', href: 'https://whimsy.apache.org/board/minutes/' +
+ @ppmc.display_name.gsub(/\s+/, '_')
+ end
+ end
+
# hidden form
# _PPMCConfirm pmc: @ppmc.id, update: self.update if auth
end
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.