whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 99d5eca: add reporting schedule
Date Tue, 16 Feb 2016 02:45:50 GMT
Commit 99d5ecaf25b70d57397bac65e7c63627b9472bed:
    add reporting schedule


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@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

Mime
View raw message