remove contact info from simplenodelist

This commit is contained in:
Nils Schneider 2015-04-26 11:52:21 +02:00
parent f1da58233a
commit 913f9f70f6
3 changed files with 4 additions and 6 deletions

View file

@ -70,8 +70,8 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
var tabs = new Tabs() var tabs = new Tabs()
var overview = new Container() var overview = new Container()
var meshstats = new Meshstats() var meshstats = new Meshstats()
var newnodeslist = new SimpleNodelist(config, "new", "firstseen", router, "Neue Knoten") var newnodeslist = new SimpleNodelist("new", "firstseen", router, "Neue Knoten")
var lostnodeslist = new SimpleNodelist(config, "lost", "lastseen", router, "Verschwundene Knoten") var lostnodeslist = new SimpleNodelist("lost", "lastseen", router, "Verschwundene Knoten")
var nodelist = new Nodelist(router) var nodelist = new Nodelist(router)
var linklist = new Linklist(linkScale, router) var linklist = new Linklist(linkScale, router)
var statistics = new Proportions() var statistics = new Proportions()

View file

@ -1,5 +1,5 @@
define(["moment", "virtual-dom"], function (moment, V) { define(["moment", "virtual-dom"], function (moment, V) {
return function(config, nodes, field, router, title) { return function(nodes, field, router, title) {
var self = this var self = this
var el, tbody var el, tbody
@ -47,9 +47,6 @@ define(["moment", "virtual-dom"], function (moment, V) {
if (has_location(d)) if (has_location(d))
td1Content.push(V.h("span", {className: "icon ion-location"})) td1Content.push(V.h("span", {className: "icon ion-location"}))
if ("owner" in d.nodeinfo && config.showContact)
td1Content.push(" - " + d.nodeinfo.owner.contact)
var td1 = V.h("td", td1Content) var td1 = V.h("td", td1Content)
var td2 = V.h("td", time) var td2 = V.h("td", time)

View file

@ -282,6 +282,7 @@ table {
.sidebar td:not(:first-child), .sidebar th:not(:first-child) { .sidebar td:not(:first-child), .sidebar th:not(:first-child) {
text-align: right; text-align: right;
white-space: nowrap;
} }
.sidebar a { .sidebar a {