commit d17405d971ed2ae9fdc82bd369eaefcee16a0b5e Author: Raphael Bergmann raphael@cc-ltd.net Date: Fri Jan 20 10:36:29 2017 +0100
Inserted zero width space character to wrap fingerprint line on smaller displays --- templates/details/bridge.html | 2 +- templates/details/router.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/details/bridge.html b/templates/details/bridge.html index 88fefe1..2cbd24a 100644 --- a/templates/details/bridge.html +++ b/templates/details/bridge.html @@ -40,7 +40,7 @@ <% } %>
<dt><span class="tip" data-content="Hash of 20-byte unique identifier of the bridge." data-original-title="Hashed Fingerprint">Hashed Fingerprint</span></dt> - <dd><tt><%= relay.get('fingerprint') %></tt></dd> + <dd><tt><%= relay.get('fingerprint').replace(/(.{20})/g,"$1​") %></tt></dd>
<dt><span class="tip" data-content="Flags that the directory authorities assigned to this bridge." data-original-title="Bridge flags">Flags</span></dt> <dd><% _.each(relay.get('flags'), function(flag) { %> diff --git a/templates/details/router.html b/templates/details/router.html index 58d4daf..505f8c1 100644 --- a/templates/details/router.html +++ b/templates/details/router.html @@ -72,7 +72,7 @@ <% } %>
<dt><span class="tip" data-content="20-byte unique identifier of the relay." data-original-title="Fingerprint">Fingerprint</span></dt> - <dd><tt><%= relay.get('fingerprint') %></tt></dd> + <dd><tt><%= relay.get('fingerprint').replace(/(.{20})/g,"$1​") %></tt></dd>
<dt><span class="tip" data-content="Flags that the directory authorities assigned to this relay." data-original-title="Relay flags">Flags</span></dt> <dd><% _.each(relay.get('flags'), function(flag) { %>