Author: Jogy
Date: 2006-06-02 17:52:03 +0000 (Fri, 02 Jun 2006)
New Revision: 8993

Modified:
   trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
Log:
Be more verbose at the darknet page if no peers have been added

Modified: trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java       
2006-06-02 17:45:08 UTC (rev 8992)
+++ trunk/freenet/src/freenet/clients/http/DarknetConnectionsToadlet.java       
2006-06-02 17:52:03 UTC (rev 8993)
@@ -151,7 +151,7 @@
                buf2.append("<tr><th></th><th>Status</th><th><span 
title=\"Click on the nodename link to send a N2NTM\" style=\"border-bottom:1px 
dotted;cursor:help;\">Name</span></th><th><span title=\"Address:Port\" 
style=\"border-bottom:1px 
dotted;cursor:help;\">Address</span></th><th>Version</th><th>Location</th><th><span
 title=\"Temporarily disconnected. Other node busy? Wait time(s) 
remaining/total\" style=\"border-bottom:1px 
dotted;cursor:help;\">Backoff</span></th><th><span title=\"How long since the 
node was last seen\" style=\"border-bottom:1px 
dotted;cursor:help;\">Idle</span></th></tr>\n");

                if (peerNodes.length == 0) {
-                       buf2.append("<tr><td colspan=\"8\">No connections so 
far</td></tr>\n");
+                       buf2.append("<tr><td colspan=\"8\">Freenet can't work - 
you have not added any peers so far. <a href=\"/\">Go here</a> and read the top 
infobox to see how it's done.</td></tr>\n");
                        buf2.append("</table>\n");
                        //
                        buf.append(buf2);


Reply via email to