You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2017/10/16 23:26:40 UTC

[whimsy] branch master updated: Fix URL from tools, add link to data & public version

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

curcuru 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 87dc41e  Fix URL from tools, add link to data & public version
87dc41e is described below

commit 87dc41ec5e09b233acd86a294ea669c52e592798
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Mon Oct 16 19:26:35 2017 -0400

    Fix URL from tools, add link to data & public version
---
 www/roster/main.rb                | 8 ++++++++
 www/roster/views/orgchart.html.rb | 7 +++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/www/roster/main.rb b/www/roster/main.rb
index 6a7b39b..7c82646 100755
--- a/www/roster/main.rb
+++ b/www/roster/main.rb
@@ -214,6 +214,14 @@ get '/orgchart/' do
   _html :orgchart
 end
 
+get '/orgchart' do
+  redirect to('/orgchart/')
+end
+
+get '/orgchart.cgi' do
+  redirect to('/orgchart/')
+end
+
 # individual duties
 get '/orgchart/:name' do |name|
   person = ASF::Person.find(env.user)
diff --git a/www/roster/views/orgchart.html.rb b/www/roster/views/orgchart.html.rb
index 279eab2..02a6bfb 100644
--- a/www/roster/views/orgchart.html.rb
+++ b/www/roster/views/orgchart.html.rb
@@ -15,9 +15,12 @@ _html do
       }
     ) do
       _whimsy_panel_table(
-        title: 'Corporate Officer Listing',
+        title: 'Corporate Officer Listing (Member-private version)',
         helpblock: -> {
-          _ 'This table lists all Corporate officers of the ASF, not including Apache TLP project Vice Presidents (except for a few special PMCs).'
+          _ 'This table lists all Corporate officers of the ASF, not including Apache TLP project Vice Presidents (except for a few special PMCs). '
+          _a '(View source data)', href: 'https://svn.apache.org/repos/private/foundation/officers/personnel-duties/'
+          _ ' A publicly viewable version (not including private data) of this is also '
+          _a 'posted here.', href: 'https://whimsy.apache.org/foundation/orgchart/'
         }
       ) do
         _table.table do

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