You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2018/01/25 11:28:47 UTC

[whimsy] branch master updated: Match the section title

This is an automated email from the ASF dual-hosted git repository.

sebb 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 f597edf  Match the section title
f597edf is described below

commit f597edf46ee94f7b3db42ac79a0b76aa780a5177
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jan 25 11:28:45 2018 +0000

    Match the section title
---
 www/roster/views/pmc/main.js.rb  | 6 +++++-
 www/roster/views/ppmc/main.js.rb | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/www/roster/views/pmc/main.js.rb b/www/roster/views/pmc/main.js.rb
index e7fc961..103f99f 100644
--- a/www/roster/views/pmc/main.js.rb
+++ b/www/roster/views/pmc/main.js.rb
@@ -24,7 +24,11 @@ class PMC < Vue
         _a 'Committers', :href => "committee/#{@committee.id}#committers"
       end
       _li role: "presentation" do
-        _a 'Mail Moderators', :href => "committee/#{@committee.id}#mail"
+        if @committee.moderators
+          _a 'Mail Moderators', :href => "committee/#{@committee.id}#mail"
+        else
+          _a 'Mail Lists', :href => "committee/#{@committee.id}#mail"
+        end
       end
       _li role: "presentation" do
         _a 'Reporting Schedule', :href => "committee/#{@committee.id}#reporting"
diff --git a/www/roster/views/ppmc/main.js.rb b/www/roster/views/ppmc/main.js.rb
index 04e9e12..22d6bb6 100644
--- a/www/roster/views/ppmc/main.js.rb
+++ b/www/roster/views/ppmc/main.js.rb
@@ -28,7 +28,11 @@ class PPMC < Vue
         _a 'Committers', :href => "ppmc/#{@ppmc.id}#committers"
       end
       _li role: "presentation" do
-        _a 'Mail Moderators', :href => "ppmc/#{@ppmc.id}#mail"
+        if @ppmc.moderators
+          _a 'Mail Moderators', :href => "ppmc/#{@ppmc.id}#mail"
+        else
+          _a 'Mail List', :href => "ppmc/#{@ppmc.id}#mail"
+        end
       end
       _li role: "presentation" do
         _a 'Reporting Schedule', :href => "ppmc/#{@ppmc.id}#reporting"

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.