infobox, nodelist: rename neighbours to links

This commit is contained in:
Milan Pässler 2016-02-06 03:39:46 +01:00
parent 80967c6259
commit fa9a16defb
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ define(["moment", "numeral", "tablesort", "tablesort.numeric"],
if (d.neighbours.length > 0) { if (d.neighbours.length > 0) {
var h3 = document.createElement("h3") var h3 = document.createElement("h3")
h3.textContent = "Nachbarknoten (" + d.neighbours.length + ")" h3.textContent = "Links (" + d.neighbours.length + ")"
el.appendChild(h3) el.appendChild(h3)
var table = document.createElement("table") var table = document.createElement("table")

View File

@ -31,7 +31,7 @@ define(["sorttable", "virtual-dom", "numeral"], function (SortTable, V, numeral)
}, },
reverse: true reverse: true
}, },
{ name: "Neighbours", { name: "#Links",
sort: function (a, b) { sort: function (a, b) {
return a.meshlinks - b.meshlinks return a.meshlinks - b.meshlinks
}, },