Skip to content

Commit

Permalink
gui: Add help link for numConnections (syncthing#9082)
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh authored Sep 11, 2023
1 parent 5415727 commit 5ff11ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gui/default/syncthing/device/editDeviceModalView.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@
<div class="col-md-6" ng-class="{'has-error': deviceEditor.numConnections.$invalid && deviceEditor.numConnections.$dirty}">
<label translate>Connection Management</label>
<div class="row">
<span class="col-md-8" translate>Number of Connections</span>
<span class="col-md-8">
<span translate>Number of Connections</span>
&nbsp;<a href="{{docsURL('advanced/device-numconnections')}}" target="_blank"><span class="fas fa-question-circle"></span>&nbsp;<span translate>Help</span></a>
</span>
<div class="col-md-4">
<input name="numConnections" id="numConnections" class="form-control" type="number" pattern="\d+" ng-model="currentDevice.numConnections" min="0" />
</div>
Expand Down

0 comments on commit 5ff11ce

Please sign in to comment.