Skip to content
Permalink
Browse files

Developers map: Link to GIT account for each dev

  • Loading branch information
gacarrillor committed Nov 3, 2017
1 parent 09f9bb7 commit 081f00e73100a3ad1b8832517be22c3da3586be2
Showing with 15 additions and 7 deletions.
  1. +5 −5 doc/contributors.json
  2. +10 −2 doc/developersmap.html
@@ -8,7 +8,7 @@
"Committer": "Yes",
"First Commit Message": "Initial revision",
"First Commit Date": "06-07-2002",
"GIT Nickname": "gsherman"
"GIT Nickname": "g-sherman"
},
"geometry": {
"type": "Point",
@@ -141,7 +141,7 @@
"Committer": "Yes",
"First Commit Message": "some dutch translations for git testing",
"First Commit Date": "4-9-2011",
"GIT Nickname": "duiv"
"GIT Nickname": "rduivenvoorde"
},
"geometry": {
"type": "Point",
@@ -277,7 +277,7 @@
"Committer": "Yes",
"First Commit Message": "some bugfixes",
"First Commit Date": "07-04-2004",
"GIT Nickname": "rabla,rblazek,blazek"
"GIT Nickname": "blazek"
},
"geometry": {
"type": "Point",
@@ -334,7 +334,7 @@
"type": "Point",
"coordinates": [
104.9110,
11.5582
11.5582
]
}
},
@@ -627,7 +627,7 @@
"Committer": "Yes",
"First Commit Message": "Patch to allow setting extents from cli on startup",
"First Commit Date": "03-06-2005",
"GIT Nickname": "wonder"
"GIT Nickname": "wonder-sk"
},
"geometry": {
"type": "Point",
@@ -21,10 +21,18 @@
});

$.getJSON($('link[rel="points"]').attr("href"), function(data) {
var nameString = '';
var geojson = L.geoJson(data, {
onEachFeature: function (feature, layer) {
layer.bindPopup("<b>Name:</b> " + feature.properties.Name +
"<br><b>Status:</b> " + (feature.properties.Committer == "Yes" ?
if (feature.properties['GIT Nickname'] !== undefined){
nameString = "<a href='https://github.com/" +
feature.properties['GIT Nickname'] + "' target='_blank' >" +
feature.properties.Name + "</a>";
} else {
nameString = feature.properties.Name;
}
layer.bindPopup("<b>Name:</b> " + nameString + "<br><b>Status:</b> " +
(feature.properties.Committer == "Yes" ?
"Core committer" : "Core contributor" ));
}
});

0 comments on commit 081f00e

Please sign in to comment.
You can’t perform that action at this time.