Changeset 76999cc


Ignore:
Timestamp:
Apr 16, 2018 2:44:42 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f0e0c01
Parents:
d189c39
Message:

Console: Cleanups when no leases/tunnels

Location:
apps/routerconsole/java/src/net/i2p/router/web/helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/NetDbRenderer.java

    rd189c39 r76999cc  
    279279
    280280        if (leases.isEmpty()) {
    281           if (!debug)
    282               buf.append("<div id=\"noleasesets\"><i>").append(_t("No Leasesets currently active.")).append("</i></div>");
     281            //if (!debug)
     282            //    buf.append("<div id=\"noleasesets\"><i>").append(_t("No Leasesets currently active.")).append("</i></div>");
    283283        } else {
    284284          if (debug) {
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/TunnelRenderer.java

    rd189c39 r76999cc  
    353353        }
    354354        if (live <= 0)
    355             out.write("<div class=\"statusnotes\"><center><b>" + _t("No tunnels; waiting for the grace period to end.") + "</b></center></div>\n");
     355            out.write("<div class=\"statusnotes\"><center><b>" + _t("none") + "</b></center></div>\n");
    356356        out.write("<div class=\"statusnotes\"><center><b>" + _t("Lifetime bandwidth usage") + ":&nbsp;&nbsp;" +
    357357                  DataHelper.formatSize2Decimal(processedIn*1024) + "B " + _t("in") + ", " +
Note: See TracChangeset for help on using the changeset viewer.