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 <twilczynski@naver.com>
This commit is contained in:
tomasz1986 2022-07-22 11:25:14 +02:00 committed by GitHub
parent 9c2428c2ee
commit 2eabc79d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>