whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: add jump links to main sections of page
Date Tue, 23 May 2017 21:00:56 GMT
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  de12b8f   add jump links to main sections of page
de12b8f is described below

commit de12b8f1c382e14b65e622aaa07f8529450813df
Author: Sebb <sebb@apache.org>
AuthorDate: Tue May 23 22:00:54 2017 +0100

    add jump links to main sections of page
---
 www/roster/views/pmc/main.js.rb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/roster/views/pmc/main.js.rb b/www/roster/views/pmc/main.js.rb
index 5192e1f..5127007 100644
--- a/www/roster/views/pmc/main.js.rb
+++ b/www/roster/views/pmc/main.js.rb
@@ -10,6 +10,15 @@ class PMC < React
   def render
     auth = (@@auth.id == @committee.chair or @@auth.secretary or @@auth.root)
 
+    # add jump links to main sections of page
+    _div.breadcrumbs do
+      _a 'PMC', :href => "committee/#{@committee[:id]}#pmc"
+      _span " \u00BB "
+      _a 'Mail Moderators', :href => "committee/#{@committee[:id]}#mail"
+      _span " \u00BB "
+      _a 'Reporting Schedule', :href => "committee/#{@committee[:id]}#reporting"
+    end
+
     # header
     _h1 do
       _a @committee.display_name, href: @committee.site

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

Mime
View raw message