Console: More links on sybil page

This commit is contained in:
zzz
2018-12-21 11:37:09 +00:00
parent 9f64cc7c60
commit f3a4b115f3
3 changed files with 24 additions and 2 deletions

View File

@ -722,7 +722,11 @@ public class SybilRenderer {
}
if (!full) {
buf.append("<a title=\"View extended router info\" class=\"viewfullentry\" href=\"netdb?r=")
.append(hash, 0, 6).append("\" >[").append(_t("Full entry")).append("]</a></th><th>");
.append(hash, 0, 6).append("\" >[").append(_t("Full entry")).append("]</a>");
buf.append("<a title=\"View profile data\" class=\"viewfullentry\" href=\"viewprofile?peer=")
.append(hash).append("\" >[").append(_t("profile")).append("]</a>");
buf.append("<a title=\"").append(_t("Configure peer")).append("\" class=\"viewfullentry\" href=\"configpeer?peer=")
.append(hash).append("\" >+-</a></th><th>");
}
if (_context.portMapper().isRegistered("imagegen"))
buf.append("<img src=\"/imagegen/id?s=32&amp;c=" + hash.replace("=", "%3d") + "\" height=\"32\" width=\"32\"> ");