From 76925fa3bd5da4e161b1120163f3718ebe02a84c Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Mon, 25 Nov 2013 15:59:34 +0000
Subject: [PATCH] console: add debug link if advanced config is set

---
 .../java/src/net/i2p/router/web/SummaryBarRenderer.java         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java b/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java
index ee2274985a..0d756fa957 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java
@@ -252,6 +252,8 @@ public class SummaryBarRenderer {
            .append(_("Addressbook"))
            .append("</a>\n");
 
+        if (_context.getBooleanProperty(HelperBase.PROP_ADVANCED))
+            buf.append("<a href=\"/debug\">Debug</a>\n");
         File javadoc = new File(_context.getBaseDir(), "docs/javadoc/index.html");
         if (javadoc.exists())
             buf.append("<a href=\"/javadoc/index.html\" target=\"_blank\">Javadoc</a>\n");
-- 
GitLab