You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/02/16 03:45:50 UTC

[whimsy.git] [1/1] Commit 99d5eca: add reporting schedule

Commit 99d5ecaf25b70d57397bac65e7c63627b9472bed:
    add reporting schedule


Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>

------------------------------------------------------------
www/roster/public/stylesheets/app.css                        | ++++ 
www/roster/views/pmc/main.js.rb                              | +++++++++++++++ 
------------------------------------------------------------
19 changes: 19 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/roster/public/stylesheets/app.css b/www/roster/public/stylesheets/app.css
index dee9c16..51c69b9 100644
--- a/www/roster/public/stylesheets/app.css
+++ b/www/roster/public/stylesheets/app.css
@@ -39,3 +39,7 @@ button.btn {margin: 0 8px}
 .search-box {
   margin: -20px 0 40px 40px;
 }
+
+#main > span > ul {
+  margin-top: 1em;
+}
diff --git a/www/roster/views/pmc/main.js.rb b/www/roster/views/pmc/main.js.rb
index 44ffe51..7d416aa 100644
--- a/www/roster/views/pmc/main.js.rb
+++ b/www/roster/views/pmc/main.js.rb
@@ -40,6 +40,21 @@ def render
     _PMCMembers auth: auth, committee: @committee
     _PMCCommitters auth: auth, committee: @committee
 
+    # reporting schedule
+    _h2 'Reporting Schedule'
+    _ul do
+      _li @committee.report
+
+      if @committee.schedule and @committee.schedule != @committee.report
+        _li @committee.schedule 
+      end
+
+      _li do
+        _a 'Prior reports', href: 'https://whimsy.apache.org/board/minutes/' +
+          @committee.display_name.gsub(/\s+/, '_')
+      end
+    end
+
     # hidden form
     _PMCConfirm pmc: @committee.id, update: self.update if auth
   end