Преглед на файлове

gui: Move filesystem watcher explanation from tooltip to help block (#8432)

Currently, the filesystem watcher explanation in the Advanced tab in the
Edit Folder modal window is split into two parts. The first is location
in a tooltip that is visible only when hovering the mouse over the small
checkbox, which makes it not easily accessible, e.g. for new or touch
screen users.

No other settings in the Edit Folder window have their explanation
presentend like that. When needed, it is always displayed in their
respective help blocks, which are always visible on the screen. Thus,
move the filesystem watcher explanation from the tooltip to the help
block, merging it with the other part of the explanation in the process.

Signed-off-by: Tomasz Wilczyński <[email protected]>
tomasz1986 преди 3 години
родител
ревизия
2eabc79d4c
променени са 1 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 5 2
      gui/default/syncthing/folder/editFolderModalView.html

+ 5 - 2
gui/default/syncthing/folder/editFolderModalView.html

@@ -204,9 +204,12 @@
               <div class="row">
               <div class="row">
                 <div class="col-md-6">
                 <div class="col-md-6">
                   <label>
                   <label>
-                    <input type="checkbox" ng-model="currentFolder.fsWatcherEnabled" ng-change="setFSWatcherIntervalDefault()" tooltip data-original-title="{{'Use notifications from the filesystem to detect changed items.' | translate }}">&nbsp;<span translate>Watch for Changes</span>
+                    <input type="checkbox" ng-model="currentFolder.fsWatcherEnabled" ng-change="setFSWatcherIntervalDefault()">&nbsp;<span translate>Watch for Changes</span>
                   </label>
                   </label>
-                  <p translate class="help-block">Watching for changes discovers most changes without periodic scanning.</p>
+                  <p class="help-block">
+                    <span translate>Use notifications from the filesystem to detect changed items.</span>
+                    <span translate>Watching for changes discovers most changes without periodic scanning.</span>
+                  </p>
                 </div>
                 </div>
                 <div class="col-md-6">
                 <div class="col-md-6">
                   <label for="rescanIntervalS" translate>Full Rescan Interval (s)</label>
                   <label for="rescanIntervalS" translate>Full Rescan Interval (s)</label>