whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curc...@apache.org
Subject [whimsy] branch master updated: Really fix inter-orgchart links this time
Date Sun, 11 Jun 2017 16:17:37 GMT
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 9ff0f7e  Really fix inter-orgchart links this time
9ff0f7e is described below

commit 9ff0f7e701047b995123028f9b9310b763d308c0
Author: Shane Curcuru <asf@shanecurcuru.org>
AuthorDate: Sun Jun 11 12:17:33 2017 -0400

    Really fix inter-orgchart links this time
---
 www/foundation/orgchart.cgi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/www/foundation/orgchart.cgi b/www/foundation/orgchart.cgi
index adfbbc3..42609fd 100755
--- a/www/foundation/orgchart.cgi
+++ b/www/foundation/orgchart.cgi
@@ -38,7 +38,7 @@ def emit_orgchart(org: {})
         org.sort_by {|key, value| value['info']['role']}.each do |key, value|
           _tr_ do
             _td do
-              _a value['info']['role'], href: "/#{key}"
+              _a value['info']['role'], href: "/orgchart/#{key}"
             end
             _td do
               id = value['info']['id'] || value['info']['chair']
@@ -85,7 +85,7 @@ def emit_role(role: {}, oversees: {}, desc: {})
                   if role_inner == 'members'
                     _a 'Apache Membership', href: 'https://www.apache.org/foundation/members'
                   else
-                    _a role_inner, href: "/#{role_inner}"
+                    _a role_inner, href: "/orgchart/#{role_inner}"
                   end
                 end
               end
@@ -114,7 +114,7 @@ def emit_role(role: {}, oversees: {}, desc: {})
           _ul style: 'margin-top: 15px; margin-bottom: 15px;' do
             oversees.each do |name, duties|
               _li do
-                _a duties['info']['role'], href: "/#{name}"
+                _a duties['info']['role'], href: "/orgchart/#{name}"
               end
             end
           end

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

Mime
View raw message