Changeset 2d026d5 for apps


Ignore:
Timestamp:
Dec 23, 2018 10:17:46 AM (19 months ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e122393
Parents:
367e5ac
Message:

Console: isAdvanced() cleanup

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/NetDbHelper.java

    r367e5ac r2d026d5  
    264264            if (i == 2 && tab != 2)
    265265                continue;   // can't nav to lookup
    266             if ((i == 5 || i == 7 || i == 8) && !_context.getBooleanProperty(PROP_ADVANCED))
     266            if ((i == 5 || i == 7 || i == 8) && !isAdvanced())
    267267                continue;
    268268            if (i == tab) {
  • apps/routerconsole/java/src/net/i2p/router/web/helpers/PeerHelper.java

    r367e5ac r2d026d5  
    267267        buf.append(". ").append(_t("Limit")).append(": ").append(nt.getMaxConnections());
    268268        //buf.append(". ").append(_t("Timeout")).append(": ").append(DataHelper.formatDuration2(_pumper.getIdleTimeout()));
    269         if (_context.getBooleanProperty(PROP_ADVANCED)) {
     269        if (isAdvanced()) {
    270270            buf.append(". ").append(_t("Status")).append(": ").append(_t(nt.getReachabilityStatus().toStatusString()));
    271271        }
Note: See TracChangeset for help on using the changeset viewer.