commit 9264e33515a3421dc365d44d5cb2e140889795be Author: Robert Ransom rransom.8774@gmail.com Date: Fri Dec 12 02:48:46 2014 -0800
#13921 Remove "bridge pool assignment" field from Globe
Remove "Bridge pool assignment" field from Globe, add "Transports" field.
* REMOVE pool_assignment field. * ADD transports field to show which PTs a bridge supports. * FIXES #13921
Signed-off-by: Isis Lovecruft isis@torproject.org --- src/js/models/defaults.js | 4 ++-- src/js/templates/bridgeDetail.hbs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/js/models/defaults.js b/src/js/models/defaults.js index 688dea9..d5c2c29 100644 --- a/src/js/models/defaults.js +++ b/src/js/models/defaults.js @@ -4,7 +4,7 @@ /** * default bridge detail object * @see {@link https://onionoo.torproject.org/#details%7D - * @type {{nickname: string, hashed_fingerprint: string, or_addresses: Array, last_seen: string, first_seen: string, running: null, flags: string, last_restarted: string, advertised_bandwidth: number, platform: string, pool_assignment: string}} + * @type {{nickname: string, hashed_fingerprint: string, or_addresses: Array, last_seen: string, first_seen: string, running: null, flags: string, last_restarted: string, advertised_bandwidth: number, platform: string, transports: string}} */ GLOBE.defaults.OnionooBridgeDetail = { nickname: 'Unnamed', @@ -17,7 +17,7 @@ GLOBE.defaults.OnionooBridgeDetail = { last_restarted: '', advertised_bandwidth: -1, platform: '', - pool_assignment: '' + transports: '' };
/** diff --git a/src/js/templates/bridgeDetail.hbs b/src/js/templates/bridgeDetail.hbs index 9d642ed..ca5d713 100644 --- a/src/js/templates/bridgeDetail.hbs +++ b/src/js/templates/bridgeDetail.hbs @@ -120,12 +120,12 @@
<div class="property"> <h5 class="has-tip" - data-description="Information of the pool that BridgeDB assigned this bridge to." - title="Pool assignment"> - Pool Assignment + data-description="Pluggable transports supported by this bridge" + title="Transports"> + Transports </h5> <p class="property-content"> - {{ pool_assignment }} + {{ transports }} </p> </div> </div>