console: add debug link if advanced config is set

This commit is contained in:
zzz
2013-11-25 15:59:34 +00:00
parent e498e2113f
commit 76925fa3bd

View File

@@ -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");