Changeset eac45256


Ignore:
Timestamp:
May 23, 2009 4:40:18 PM (11 years ago)
Author:
mathiasdm <mathiasdm@…>
Branches:
master
Children:
29489ad
Parents:
3208b72
Message:
  • Router netDB:
    • Added flags to the netDB page
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    r3208b72 reac45256  
     12009-05-23 Mathiasdm
     2    * Router netDB:
     3      - Added flags to the netDB page
     4
    152009-05-22 Mathiasdm
    26    * desktopgui:
  • router/java/src/net/i2p/router/networkdb/kademlia/KademliaNetworkDatabaseFacade.java

    r3208b72 reac45256  
    10681068            buf.append("Published: <i>in ").append(DataHelper.formatDuration(0-age)).append("???</i><br />\n");
    10691069        buf.append("Address(es): <i>");
     1070        String country = _context.commSystem().getCountry(info.getIdentity().getHash());
     1071        if(country != null) {
     1072            buf.append(" <img alt=\"").append(country.toUpperCase()).append("\"");
     1073            buf.append("\" src=\"/flags.jsp?c=").append(country).append("\">");
     1074        }
    10701075        for (Iterator iter = info.getAddresses().iterator(); iter.hasNext(); ) {
    10711076            RouterAddress addr = (RouterAddress)iter.next();
Note: See TracChangeset for help on using the changeset viewer.