From af84bcf94571674b774009ac5e24b195b5ed4ccb Mon Sep 17 00:00:00 2001 From: zzz Date: Fri, 13 Dec 2013 17:45:35 +0000 Subject: [PATCH] i2ptunnel: - Show destination for persistent client key only if available; show b32 for the key as well --- apps/i2ptunnel/jsp/editClient.jsp | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/apps/i2ptunnel/jsp/editClient.jsp b/apps/i2ptunnel/jsp/editClient.jsp index cc98b6b58..41727d79f 100644 --- a/apps/i2ptunnel/jsp/editClient.jsp +++ b/apps/i2ptunnel/jsp/editClient.jsp @@ -414,13 +414,20 @@ input.default { width: 1px; height: 1px; visibility: hidden; } -
- - - <%=intl._("(if known)")%> -
+ <% + String destb64 = editBean.getDestinationBase64(curTunnel); + if (destb64.length() > 0) { + %>
+ + +
+
+ + <%=editBean.getDestHashBase32(curTunnel)%>.b32.i2p +
+ <% } // if destb64 %>