From 1af87577e1f56bc7d579dd28f43493cbbc40c1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Colomb?= Date: Mon, 24 Jan 2022 19:36:11 +0100 Subject: [PATCH] gui: Generate version-specific documentation link URLs (#8108) Replace all HTML references to https://docs.syncthing.net with a function call to return a version-specific URL. --- gui/default/index.html | 6 ++-- gui/default/syncthing/core/notifications.html | 10 +++---- .../syncthing/core/syncthingController.js | 28 +++++++++++++++++++ .../syncthing/folder/editFolderModalView.html | 8 +++--- .../syncthing/settings/settingsModalView.html | 6 ++-- 5 files changed, 43 insertions(+), 15 deletions(-) diff --git a/gui/default/index.html b/gui/default/index.html index 4c1a2fb6d..85868c8ba 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -89,7 +89,7 @@
  • - + @@ -108,7 +108,7 @@
  •  Restart
  • - +  Help
  • @@ -432,7 +432,7 @@ Altered by ignoring deletes.
    -  Help +  Help
    diff --git a/gui/default/syncthing/core/notifications.html b/gui/default/syncthing/core/notifications.html index 0af0bef7d..b7b7d4de6 100644 --- a/gui/default/syncthing/core/notifications.html +++ b/gui/default/syncthing/core/notifications.html @@ -28,7 +28,7 @@ You can read more about the two release channels at the link below.

    You can change your choice at any time in the Settings dialog.

    -

     Learn more

    +

     Learn more

    Continuously watching for changes is now available within Syncthing. This will detect changes on disk and issue a scan on only the modified paths. The benefits are that changes are propagated quicker and that less full scans are required.

    -

     Learn more

    +

     Learn more

    Do you want to enable watching for changes for all your folders?
    Additionally the full rescan interval will be increased (times 60, i.e. new default of 1h). You can also configure it manually for every folder later after choosing No. @@ -77,7 +77,7 @@

    Syncthing now supports automatically reporting crashes to the developers. This feature is enabled by default.

    -

     Learn more

    +

     Learn more