I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit d4fe76af authored by zzz's avatar zzz
Browse files

hide graph link in summary bar when disabled

parent 22d50dd1
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ public class SummaryBarRenderer { ...@@ -123,7 +123,7 @@ public class SummaryBarRenderer {
.append(_("Health Report")) .append(_("Health Report"))
.append("\">") .append("\">")
.append(_("Logs")) .append(_("Logs"))
.append("</a>\n" + .append("</a>\n");
// "<a href=\"/jobs.jsp\" target=\"_top\" title=\"") // "<a href=\"/jobs.jsp\" target=\"_top\" title=\"")
// .append(_("Show the router's workload, and how it's performing")) // .append(_("Show the router's workload, and how it's performing"))
...@@ -131,13 +131,15 @@ public class SummaryBarRenderer { ...@@ -131,13 +131,15 @@ public class SummaryBarRenderer {
// .append(_("Jobs")) // .append(_("Jobs"))
// .append("</a>\n" + // .append("</a>\n" +
"<a href=\"/graphs\" target=\"_top\" title=\"") if (!StatSummarizer.instance().isDisabled()) {
buf.append("<a href=\"/graphs\" target=\"_top\" title=\"")
.append(_("Graph router performance")) .append(_("Graph router performance"))
.append("\">") .append("\">")
.append(_("Graphs")) .append(_("Graphs"))
.append("</a>\n" + .append("</a>\n");
}
"<a href=\"/stats\" target=\"_top\" title=\"") buf.append("<a href=\"/stats\" target=\"_top\" title=\"")
.append(_("Textual router performance statistics")) .append(_("Textual router performance statistics"))
.append("\">") .append("\">")
.append(_("Stats")) .append(_("Stats"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment