mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
gui: Always show Out of Sync Items for remote devices (#8632)
Right now, the Out of Sync Items list for a specific remote device is available only when the device is online and currently synchronising. However, the list itself is being created by Syncthing all the time, so there is no need to hide it from the user even when the remote device is offline or paused. This way they can always easily check which files exactly have not been synchronised yet. In addition, the Out of Sync Items entry already includes file size next to it, so there is no need to display it again next to the Sync Status entry. Thus, remove out-of-sync file size from Sync Status, leaving only percentage next to it. Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
This commit is contained in:
parent
bf1e418e4a
commit
36221b70ac
@ -774,7 +774,7 @@
|
|||||||
<th><span class="fas fa-fw fa-cloud"></span> <span translate>Sync Status</span></th>
|
<th><span class="fas fa-fw fa-cloud"></span> <span translate>Sync Status</span></th>
|
||||||
<td translate ng-if="completion[deviceCfg.deviceID]._total == 100" class="text-right">Up to Date</td>
|
<td translate ng-if="completion[deviceCfg.deviceID]._total == 100" class="text-right">Up to Date</td>
|
||||||
<td ng-if="completion[deviceCfg.deviceID]._total < 100" class="text-right">
|
<td ng-if="completion[deviceCfg.deviceID]._total < 100" class="text-right">
|
||||||
<span class="hidden-xs" translate>Out of Sync</span> ({{completion[deviceCfg.deviceID]._total | percent}}, {{completion[deviceCfg.deviceID]._needBytes | binary}}B)
|
<span class="hidden-xs" translate>Out of Sync</span> ({{completion[deviceCfg.deviceID]._total | percent}})
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-if="connections[deviceCfg.deviceID].connected">
|
<tr ng-if="connections[deviceCfg.deviceID].connected">
|
||||||
@ -809,7 +809,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-if="deviceStatus(deviceCfg) == 'syncing'">
|
<tr ng-if="completion[deviceCfg.deviceID]._needItems">
|
||||||
<th><span class="fas fa-fw fa-exchange-alt"></span> <span translate>Out of Sync Items</span></th>
|
<th><span class="fas fa-fw fa-exchange-alt"></span> <span translate>Out of Sync Items</span></th>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
<a href="" ng-click="showRemoteNeed(deviceCfg)">{{completion[deviceCfg.deviceID]._needItems | alwaysNumber | localeNumber}} <span translate>items</span>, ~{{completion[deviceCfg.deviceID]._needBytes | binary}}B</a>
|
<a href="" ng-click="showRemoteNeed(deviceCfg)">{{completion[deviceCfg.deviceID]._needItems | alwaysNumber | localeNumber}} <span translate>items</span>, ~{{completion[deviceCfg.deviceID]._needBytes | binary}}B</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user