Display a bridge's distribution mechanism in RS.

Another part of #33008.
This commit is contained in:
Karsten Loesing 2020-02-14 16:32:03 +01:00
parent ebb494ab43
commit 2708d2ee7a
2 changed files with 4 additions and 0 deletions

View File

@ -237,6 +237,7 @@ define([
relay.as = relay.as ? relay.as : null;
relay.as_name = relay.as_name ? relay.as_name : null;
relay.transports = relay.transports ? relay.transports : null;
relay.bridgedb_distributor = relay.bridgedb_distributor ? relay.bridgedb_distributor : null;
relay.fingerprint = relay.hashed_fingerprint ? relay.hashed_fingerprint : relay.fingerprint;
model.set({badexit: false});
relay.flags = model.parseflags(relay.flags, relay.is_bridge);

View File

@ -80,6 +80,9 @@
<dt><span class="tip" title="Transport protocols supported by this bridge.">Transport protocols</span></dt>
<dd><%= relay.get('transports') ? relay.get('transports') : 'none' %></dd>
<dt><span class="tip" title="BridgeDB distributor that this bridge is currently assigned to.">Bridge distribution mechanism</span></dt>
<dd><%= relay.get('bridgedb_distributor') ? relay.get('bridgedb_distributor') : 'none' %></dd>
</dl>
</div>
</div>