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 chair
Date Mon, 02 Apr 2018 00:58:50 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys 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 8607349  link to chair
8607349 is described below

commit 8607349eca80a266e5973b9cf13fc13f423d709c
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Sun Apr 1 20:58:30 2018 -0400

    link to chair
---
 www/board/agenda/views/elements/info.js.rb | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/views/elements/info.js.rb b/www/board/agenda/views/elements/info.js.rb
index f2862eb..0103c38 100644
--- a/www/board/agenda/views/elements/info.js.rb
+++ b/www/board/agenda/views/elements/info.js.rb
@@ -6,7 +6,15 @@ class Info < Vue
 
       if @@item.owner
         _dt 'Author'
-        _dd @@item.owner
+        if (@@item.chair_email || '') .split('@')[1] == 'apache.org'
+          chair = @@item.chair_email .split('@')[0]
+          _dd do
+            _a @@item.owner, 
+              href: "https://whimsy.apache.org/roster/committer/#{chair}" 
+          end
+        else
+          _dd @@item.owner
+        end
       end
 
       if @@item.shepherd

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

Mime
View raw message