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 37a32e98 Add reports-to column
37a32e98 is described below
commit 37a32e983bdf8b0a994381b9335b9bff77f34ace
Author: Shane Curcuru <[email protected]>
AuthorDate: Fri Jan 17 14:29:39 2025 -0500
Add reports-to column
---
www/roster/views/orgchart.html.rb | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/www/roster/views/orgchart.html.rb
b/www/roster/views/orgchart.html.rb
index 3f062172..40f7ee12 100644
--- a/www/roster/views/orgchart.html.rb
+++ b/www/roster/views/orgchart.html.rb
@@ -26,7 +26,8 @@ _html do
_table.table do
_thead do
_th 'Title'
- _th 'Contact, Chair, or Person holding that title'
+ _th 'VP or Chair Name'
+ _th 'Reporting Structure'
_th 'Public Website'
end
@@ -46,6 +47,11 @@ _html do
_a ASF::Person.find(id1).public_name, href:
"committer/#{id1}"
end
end
+
+ # Reports-To - clarifies orgchart reporting structure
+ _td do
+ value['info']['reports-to'].nil? ? _('') : _a('reports to',
href: value['info']['reports-to'])
+ end
# Website - often valuable to people looking for info
_td do