[tor-bugs] #21350 [Metrics/Atlas]: We should use CSS to style fingerprints, not <tt>

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 31 07:24:52 UTC 2017


#21350: We should use CSS to style fingerprints, not <tt>
---------------------------+--------------------------
 Reporter:  irl            |          Owner:  irl
     Type:  enhancement    |         Status:  reopened
 Priority:  Low            |      Milestone:
Component:  Metrics/Atlas  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:  #21274         |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------
Changes (by cypherpunks):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 My patch only addressed the issue on the router page. I forgot about the
 bridge page.

 {{{
 diff --git a/templates/details/bridge.html b/templates/details/bridge.html
 index 99ffdd3..124e374 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').replace(/(.{20})/g,"$1​")
 %></tt></dd>
 +    <dd><pre><%= relay.get('fingerprint') %></pre></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) { %>
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21350#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list