File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 8
8
DavideD :
9
9
- reactive
10
10
koentsje :
11
- - tools
11
+ - tools
12
+ roles :
13
+ gavinking :
14
+ - ' <a href="https://github.com/orgs/commonhaus/teams/cf-egc">Project Representative to the CommonHaus Foundation for Hibernate</a>'
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ title: Hibernate Team
44
44
:javascript
45
45
$(document).ready(function() {
46
46
var contributorsNameMapping = #{site.data_json['contributors-name-mapping']}
47
+ var governance = #{site.data_json['governance']}
47
48
$.getJSON( "https://api.github.com/orgs/hibernate/public_members", function( data ) {
48
49
var items = [];
49
50
data.forEach( function( member ) {
@@ -53,6 +54,11 @@ title: Hibernate Team
53
54
.append( $( '<div class=" image" />' ).append( $('<img src=" ' + member.avatar_url + '" />' ) ) )
54
55
.append( $( '<div class=" content" />' ).append( $( '<div class=" header" />' ).append( $( '<a href=" ' + member.html_url + '" />' ).text( memberName ) ) ) )
55
56
57
+ var roles = governance.roles[member.login]
58
+ if ( roles ) {
59
+ item.append( $( '<div class=" extra content" />' ).html( roles.join(', ') + '.' ) );
60
+ }
61
+
56
62
var leaderItem = $( '.leader-list [data-github-login=' + member.login + ']' )
57
63
if ( leaderItem.length ) {
58
64
item.append( $( '<div class="extra content" />' ).text( 'Leader of ' + leaderItem.data( 'project-names' ) + '.' ) );
You can’t perform that action at this time.
0 commit comments