Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 63498d7

Browse files
author
ameliagoodman
committed
changes based on jjeffryes' comments
1 parent 36a3be8 commit 63498d7

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

css/obBase.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6408,10 +6408,13 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
64086408
color: #9999A0;
64096409
max-height: 200px;
64106410
overflow: auto;
6411-
64126411
}
64136412

64146413
.peersList>ul{
64156414
list-style-type: none;
64166415
padding-left: 0;
64176416
}
6417+
6418+
.peersList>ul>li {
6419+
padding-bottom: 5px;
6420+
}

js/languages/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@
547547
"tagIsTooLongHeadline": "The tag is too long",
548548
"tagIsTooLongBody": "Tags cannot be more than %{smart_count} character long. |||| Tags cannot be more than %{smart_count} characters long.",
549549
"retryingConnection": "The connection to your node was lost. Retrying connection attempt %{attempt} of %{total}.",
550-
"peersFail": "Call to peers API failed."
550+
"peersFail": "Call to the peers API failed."
551551
},
552552
"pageConnectingMessages": {
553553
"listingConnect": "Connecting to listing ${listing}",

js/templates/settings.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,17 +1274,15 @@ <h3 class="padding15 margin0 fontWeight500"><%= polyglot.t('Advanced') %></h3>
12741274
<div class="flexCol-9 borderRight0 custCol-border">
12751275
<div class="fieldItem flexRow">
12761276
<div class="flexRow">
1277-
<div class="flexCol-9">
1278-
<span class="js-numConnectedPeers"></span>
1279-
</div>
1277+
<span class="js-numConnectedPeers"></span>
12801278
<div class="positionTopRight paddingright5">
12811279
<a id="showPeersButton" class="btn btn-txt js-showPeers custCol-secondary">
12821280
Show Connected Peers
12831281
</a>
12841282
</div>
12851283
</div>
12861284
<div class="flexRow">
1287-
<div class="peersList js-connectedPeers"></div>
1285+
<div class="peersList custCol-text js-connectedPeers"></div>
12881286
</div>
12891287
</div>
12901288
</div>

js/views/settingsVw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ module.exports = pageVw.extend({
243243
$.ajax({
244244
url: self.serverUrl + "routing_table",
245245
success: function(data){
246-
self.$('.js-numConnectedPeers').html("<p>" + data.length + "</p>");
246+
self.$('.js-numConnectedPeers').text(data.length);
247247
data.forEach(function (peer) {
248248
connectedPeers += `<li><a href="#userPage/${peer.guid}">${peer.ip}:${peer.port}</a></li>`;
249249
});

0 commit comments

Comments
 (0)