Update Client Identifier description to use IDENTIFYING_CLIENTS_LINK

Existing clientid link is too narrow for this general description, and skips over the whole part about MAC Address only being useful if AGH is also the DHCP Server.
This commit is contained in:
PrplHaz4 2023-12-17 22:15:57 -05:00 committed by GitHub
parent 0abdce59ca
commit a51b3f284d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ import {
renderTextareaField, renderTextareaField,
} from '../../../helpers/form'; } from '../../../helpers/form';
import { validateClientId, validateRequiredValue } from '../../../helpers/validators'; import { validateClientId, validateRequiredValue } from '../../../helpers/validators';
import { CLIENT_ID_LINK, FORM_NAME, UINT32_RANGE } from '../../../helpers/constants'; import { IDENTIFYING_CLIENTS_LINK, FORM_NAME, UINT32_RANGE } from '../../../helpers/constants';
import './Service.css'; import './Service.css';
const settingsCheckboxes = [ const settingsCheckboxes = [
@ -98,12 +98,12 @@ const renderFieldsWrapper = (placeholder, buttonTitle) => function cell(row) {
))} ))}
<button <button
type="button" type="button"
className="btn btn-link btn-block btn-sm" className="btn btn- btn-block btn-sm"
onClick={() => fields.push()} onClick={() => fields.push()}
title={buttonTitle} title={buttonTitle}
> >
<svg className="icon icon--24"> <svg className="icon icon--24">
<use xlinkHref="#plus" /> <use xHref="#plus" />
</svg> </svg>
</button> </button>
</div> </div>
@ -298,7 +298,7 @@ let Form = (props) => {
title: 'upstream_dns', title: 'upstream_dns',
component: <div label="upstream" title={props.t('upstream_dns')}> component: <div label="upstream" title={props.t('upstream_dns')}>
<div className="form__desc mb-3"> <div className="form__desc mb-3">
<Trans components={[<a href="#dns" key="0">link</a>]}> <Trans components={[<a href="#dns" key="0"></a>]}>
upstream_dns_client_desc upstream_dns_client_desc
</Trans> </Trans>
</div> </div>
@ -372,7 +372,7 @@ let Form = (props) => {
<div className="form__desc mt-0 mb-2"> <div className="form__desc mt-0 mb-2">
<Trans components={[ <Trans components={[
<a target="_blank" rel="noopener noreferrer" href="https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists#ctag" <a target="_blank" rel="noopener noreferrer" href="https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists#ctag"
key="0">link</a>, key="0"></a>,
]}> ]}>
tags_desc tags_desc
</Trans> </Trans>
@ -393,7 +393,7 @@ let Form = (props) => {
</div> </div>
<div className="form__desc mt-0"> <div className="form__desc mt-0">
<Trans components={[ <Trans components={[
<a href={CLIENT_ID_LINK} target="_blank" rel="noopener noreferrer" <a href={IDENTIFYING_CLIENTS_LINK} target="_blank" rel="noopener noreferrer"
key="0">text</a>, key="0">text</a>,
]}> ]}>
client_identifier_desc client_identifier_desc