mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
Clean up device panel (...) (ref #964)
- Remove "Synchronization" - Hide "Compression" when default (on) - Hide "Introducer" when default (off)
This commit is contained in:
parent
13e79c777a
commit
7273eab80e
@ -253,19 +253,13 @@
|
|||||||
<th><span class="glyphicon glyphicon-link"></span> <span translate>Address</span></th>
|
<th><span class="glyphicon glyphicon-link"></span> <span translate>Address</span></th>
|
||||||
<td class="text-right">{{deviceAddr(deviceCfg)}}</td>
|
<td class="text-right">{{deviceAddr(deviceCfg)}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-if="connections[deviceCfg.DeviceID]">
|
<tr ng-if="!deviceCfg.Compression">
|
||||||
<th><span class="glyphicon glyphicon-comment"></span> <span translate>Synchronization</span></th>
|
|
||||||
<td class="text-right">{{completion[deviceCfg.DeviceID]._total | alwaysNumber | number:0}}%</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th><span class="glyphicon glyphicon-compressed"></span> <span translate>Use Compression</span></th>
|
<th><span class="glyphicon glyphicon-compressed"></span> <span translate>Use Compression</span></th>
|
||||||
<td translate ng-if="deviceCfg.Compression" class="text-right">Yes</td>
|
<td translate class="text-right">No</td>
|
||||||
<td translate ng-if="!deviceCfg.Compression" class="text-right">No</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr ng-if="deviceCfg.Introducer">
|
||||||
<th><span class="glyphicon glyphicon-thumbs-up"></span> <span translate>Introducer</span></th>
|
<th><span class="glyphicon glyphicon-thumbs-up"></span> <span translate>Introducer</span></th>
|
||||||
<td translate ng-if="deviceCfg.Introducer" class="text-right">Yes</td>
|
<td translate class="text-right">Yes</td>
|
||||||
<td translate ng-if="!deviceCfg.Introducer" class="text-right">No</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-if="connections[deviceCfg.DeviceID]">
|
<tr ng-if="connections[deviceCfg.DeviceID]">
|
||||||
<th><span class="glyphicon glyphicon-tag"></span> <span translate>Version</span></th>
|
<th><span class="glyphicon glyphicon-tag"></span> <span translate>Version</span></th>
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user