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/04/27 22:27:35 UTC
[whimsy] branch master updated: Display website on front roster page
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 b12e34f Display website on front roster page
b12e34f is described below
commit b12e34f0da9b90120edf8ac5cc7912ae96d5a9cf
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Thu Apr 27 18:27:30 2017 -0400
Display website on front roster page
---
www/roster/views/orgchart.html.rb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www/roster/views/orgchart.html.rb b/www/roster/views/orgchart.html.rb
index e7aba02..108cc0a 100644
--- a/www/roster/views/orgchart.html.rb
+++ b/www/roster/views/orgchart.html.rb
@@ -17,6 +17,7 @@ _html do
_thead do
_th 'Title'
_th 'Contact, Chair, or Person holding that title'
+ _th 'Public Website'
end
_tbody do
@@ -32,6 +33,11 @@ _html do
id = value['info']['id'] || value['info']['chair']
_a ASF::Person.find(id).public_name, href: "committer/#{id}"
end
+
+ # Website - often valuable to people looking for info
+ _td do
+ value['info']['website'].nil? ? _('') : _a('website', href: value['info']['website'])
+ end
end
end
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].