From 5c7b6bbf5c1d2da5a4f524b4a0305a337356794a Mon Sep 17 00:00:00 2001 From: Artem Baskal Date: Tue, 8 Dec 2020 18:47:47 +0300 Subject: [PATCH] Use external links Squashed commit of the following: commit 5617cde490beea6f09e1beef1ff8b8e151e26244 Merge: 0a6500e75 7f9a3a73b Author: Artem Baskal Date: Tue Dec 8 18:34:19 2020 +0300 Merge branch 'master' into use-external-links commit 0a6500e75fbaa354a938c818f02f0b2419bd0d8e Merge: 9d2ff3bb5 73c30590e Author: Artem Baskal Date: Tue Dec 8 18:15:57 2020 +0300 Merge branch 'master' into use-external-links commit 9d2ff3bb5b3f5d5f08f26f54552ac07dd1724de5 Author: Artem Baskal Date: Tue Dec 8 18:04:09 2020 +0300 client: open external links in new tab commit 57d0ed09a8d90282b9dcad1c4943dd6d15a13cc8 Author: Zhijie He Date: Tue Nov 24 09:53:37 2020 +0800 Encryption: use rel="noopener noreferrer" commit 0554590059a3e9d5a9c1b576af2b409cff8c77e8 Author: Zhijie He Date: Tue Nov 24 09:51:19 2020 +0800 Clients: use rel="noopener noreferrer" --- client/src/components/Settings/Clients/Form.js | 2 +- client/src/components/Settings/Encryption/Form.js | 2 +- client/src/components/Settings/FiltersConfig/Form.js | 4 ++-- client/src/helpers/constants.js | 4 ++-- client/src/install/Setup/AddressList.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/components/Settings/Clients/Form.js b/client/src/components/Settings/Clients/Form.js index 28f8a59c..20f1f828 100644 --- a/client/src/components/Settings/Clients/Form.js +++ b/client/src/components/Settings/Clients/Form.js @@ -259,7 +259,7 @@ let Form = (props) => {
link, ]}> tags_desc diff --git a/client/src/components/Settings/Encryption/Form.js b/client/src/components/Settings/Encryption/Form.js index 8d69f665..1619ea3e 100644 --- a/client/src/components/Settings/Encryption/Form.js +++ b/client/src/components/Settings/Encryption/Form.js @@ -232,7 +232,7 @@ let Form = (props) => { + link , ]} diff --git a/client/src/components/Settings/FiltersConfig/Form.js b/client/src/components/Settings/FiltersConfig/Form.js index 7d41fe8a..d76631ea 100644 --- a/client/src/components/Settings/FiltersConfig/Form.js +++ b/client/src/components/Settings/FiltersConfig/Form.js @@ -7,7 +7,7 @@ import flow from 'lodash/flow'; import { CheckboxField, toNumber } from '../../../helpers/form'; import { FILTERS_INTERVALS_HOURS, - FILTERS_LINK, + FILTERS_RELATIVE_LINK, FORM_NAME, } from '../../../helpers/constants'; @@ -45,7 +45,7 @@ const Form = (props) => { } = props; const components = { - a: , + a: , }; return ( diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index 7bce8387..af10524f 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -53,10 +53,10 @@ export const REPOSITORY = { export const PRIVACY_POLICY_LINK = 'https://adguard.com/privacy/home.html'; export const PORT_53_FAQ_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/FAQ#bindinuse'; export const UPSTREAM_CONFIGURATION_WIKI_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#upstreams'; -export const FILTERS_LINK = '#filters'; - export const GETTING_STARTED_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#update'; +export const FILTERS_RELATIVE_LINK = '#filters'; + export const ADDRESS_IN_USE_TEXT = 'address already in use'; export const INSTALL_FIRST_STEP = 1; diff --git a/client/src/install/Setup/AddressList.js b/client/src/install/Setup/AddressList.js index 90bccfd2..15cf7113 100644 --- a/client/src/install/Setup/AddressList.js +++ b/client/src/install/Setup/AddressList.js @@ -12,7 +12,7 @@ const renderItem = ({ return
  • {isDns ? {dnsAddress} - : {webAddress} + : {webAddress} }
  • ; };