whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: match committee correctly
Date Tue, 06 Jun 2017 00:53:11 GMT
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 f0b9fab  match committee correctly
f0b9fab is described below

commit f0b9fabfaefe62b187221e12237827577b3aa815
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon Jun 5 20:53:01 2017 -0400

    match committee correctly
---
 www/roster/views/pmc/main.js.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/roster/views/pmc/main.js.rb b/www/roster/views/pmc/main.js.rb
index 81020a2..a76a6eb 100644
--- a/www/roster/views/pmc/main.js.rb
+++ b/www/roster/views/pmc/main.js.rb
@@ -8,7 +8,7 @@ class PMC < React
   end
 
   def render
-    if @committee.name == 'incubator'
+    if @committee.id == 'incubator'
       auth = (@@auth.secretary or @@auth.root or
         @committee.ldap.keys().include? @@auth.id)
     else
@@ -17,11 +17,11 @@ class PMC < React
 
     # add jump links to main sections of page
     _div.breadcrumbs do
-      _a 'PMC', :href => "committee/#{@committee[:id]}#pmc"
+      _a 'PMC', :href => "committee/#{@committee.id}#pmc"
       _span " \u00BB "
-      _a 'Mail Moderators', :href => "committee/#{@committee[:id]}#mail"
+      _a 'Mail Moderators', :href => "committee/#{@committee.id}#mail"
       _span " \u00BB "
-      _a 'Reporting Schedule', :href => "committee/#{@committee[:id]}#reporting"
+      _a 'Reporting Schedule', :href => "committee/#{@committee.id}#reporting"
     end
 
     # header

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message