Jelajahi Sumber

Homogenize folder and device state to 'Up to Date' (fixes #1042)

Jakob Borg 11 tahun lalu
induk
melakukan
a564510c49
2 mengubah file dengan 2 tambahan dan 7 penghapusan
  1. 2 7
      gui/index.html
  2. 0 0
      internal/auto/gui.files.go

+ 2 - 7
gui/index.html

@@ -98,14 +98,11 @@
                   <span translate ng-switch-when="unshared">Unshared</span>
                   <span translate ng-switch-when="stopped">Stopped</span>
                   <span translate ng-switch-when="scanning">Scanning</span>
+                  <span translate ng-switch-when="idle">Up to Date</span>
                   <span ng-switch-when="syncing">
                     <span translate>Syncing</span>
                     ({{syncPercentage(folder.ID)}}%)
                   </span>
-                  <span ng-switch-when="idle">
-                    <span translate>Idle</span>
-                    ({{syncPercentage(folder.ID)}}%)
-                  </span>
                 </span>
               </h3>
             </div>
@@ -234,9 +231,7 @@
               <h3 class="panel-title">
                 <identicon data-value="deviceCfg.DeviceID"></identicon>&emsp;{{deviceName(deviceCfg)}}
                 <span ng-switch="deviceStatus(deviceCfg)" class="pull-right hidden-xs text-{{deviceClass(deviceCfg)}}">
-                  <span ng-switch-when="insync">
-                    <span translate>Up to Date</span> (100%)
-                  </span>
+                  <span translate ng-switch-when="insync">Up to Date</span>
                   <span ng-switch-when="syncing">
                     <span translate>Syncing</span> ({{completion[deviceCfg.DeviceID]._total | number:0}}%)
                   </span>

File diff ditekan karena terlalu besar
+ 0 - 0
internal/auto/gui.files.go


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini