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: link to org chart
Date Tue, 04 Oct 2016 12:34:15 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  1450731   link to org chart
1450731 is described below

commit 1450731776e65fe8b58dee8797375dae4c3968a5
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Tue Oct 4 08:34:02 2016 -0400

    link to org chart
---
 www/roster/views/index.html.rb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/roster/views/index.html.rb b/www/roster/views/index.html.rb
index 128c3cd..373ce61 100644
--- a/www/roster/views/index.html.rb
+++ b/www/roster/views/index.html.rb
@@ -86,4 +86,13 @@ _html do
     end
 
   end
+
+  person = ASF::Person.find(env.user)
+  if person.asf_member? or ASF.pmc_chairs.include? person
+    _hr
+
+    _p do
+      _a 'Organization Chart', href: 'orgchart/'
+    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