mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-06-04 00:01:31 +00:00
Console: Add sidebar link to client netdb tab
This commit is contained in:
@@ -593,14 +593,27 @@ class SummaryBarRenderer {
|
||||
.append("</a>\n");
|
||||
svcs.put(tx, rbuf.toString());
|
||||
|
||||
tx = _t("LeaseSets");
|
||||
rbuf.setLength(0);
|
||||
rbuf.append("<a title=\"")
|
||||
.append(_t("View active leasesets (debug mode)"))
|
||||
.append("\" href=\"/netdb?l=2\" target=\"_top\">")
|
||||
.append(nbsp(tx))
|
||||
.append("</a>\n");
|
||||
svcs.put(tx, rbuf.toString());
|
||||
if (_context.netDb().floodfillEnabled()) {
|
||||
tx = _t("LeaseSets") + " (" + _t("Floodfill") + ')';
|
||||
rbuf.setLength(0);
|
||||
rbuf.append("<a title=\"")
|
||||
.append(_t("View active leasesets (debug mode)"))
|
||||
.append("\" href=\"/netdb?l=2\" target=\"_top\">")
|
||||
.append(nbsp(tx))
|
||||
.append("</a>\n");
|
||||
svcs.put(tx, rbuf.toString());
|
||||
}
|
||||
|
||||
if (!_context.clientManager().getPrimaryHashes().isEmpty()) {
|
||||
tx = _t("LeaseSets") + " (" + _t("Client") + ')';
|
||||
rbuf.setLength(0);
|
||||
rbuf.append("<a title=\"")
|
||||
.append(_t("View active leasesets (debug mode)"))
|
||||
.append("\" href=\"/netdb?l=7\" target=\"_top\">")
|
||||
.append(nbsp(tx))
|
||||
.append("</a>\n");
|
||||
svcs.put(tx, rbuf.toString());
|
||||
}
|
||||
|
||||
tx = _t("NetDB Search");
|
||||
rbuf.setLength(0);
|
||||
|
||||
Reference in New Issue
Block a user