mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
Adds missing rel="noopener noreferrer" to each link element with target="_blank" (#13959)
This commit is contained in:
@@ -99,7 +99,8 @@
|
|||||||
"fieldName",
|
"fieldName",
|
||||||
"splitButtonVariant",
|
"splitButtonVariant",
|
||||||
"pageKey",
|
"pageKey",
|
||||||
"textId"
|
"textId",
|
||||||
|
"rel"
|
||||||
],
|
],
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"Ansible",
|
"Ansible",
|
||||||
|
|||||||
@@ -112,6 +112,7 @@ function PageHeaderToolbar({
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
href={`${getDocsBaseUrl(config)}/html/userguide/index.html`}
|
href={`${getDocsBaseUrl(config)}/html/userguide/index.html`}
|
||||||
ouiaId="help-dropdown-item"
|
ouiaId="help-dropdown-item"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
{t`Help`}
|
{t`Help`}
|
||||||
</DropdownItem>,
|
</DropdownItem>,
|
||||||
|
|||||||
@@ -322,6 +322,7 @@ function AdvancedSearch({
|
|||||||
variant="plain"
|
variant="plain"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={`${getDocsBaseUrl(config)}/html/userguide/search_sort.html`}
|
href={`${getDocsBaseUrl(config)}/html/userguide/search_sort.html`}
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<QuestionCircleIcon />
|
<QuestionCircleIcon />
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -258,6 +258,7 @@ function InstanceDetail({ setBreadcrumb, isK8s }) {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
dataCy="install-bundle-download-button"
|
dataCy="install-bundle-download-button"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<DownloadIcon />
|
<DownloadIcon />
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ function ConstructedInventoryHint() {
|
|||||||
)}/html/userguide/inventories.html#constructed-inventories`}
|
)}/html/userguide/inventories.html#constructed-inventories`}
|
||||||
component="a"
|
component="a"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
{t`View constructed inventory documentation here`}{' '}
|
{t`View constructed inventory documentation here`}{' '}
|
||||||
<ExternalLinkAltIcon />
|
<ExternalLinkAltIcon />
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ const helpText = () => ({
|
|||||||
<a
|
<a
|
||||||
href="https://docs.djangoproject.com/en/4.0/ref/settings/#std:setting-EMAIL_USE_TLS"
|
href="https://docs.djangoproject.com/en/4.0/ref/settings/#std:setting-EMAIL_USE_TLS"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noopener noreferrer"
|
||||||
>{t`documentation`}</a>{' '}
|
>{t`documentation`}</a>{' '}
|
||||||
<span>{t`for more information.`}</span>
|
<span>{t`for more information.`}</span>
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -206,6 +206,7 @@ function SubscriptionDetail() {
|
|||||||
href="https://www.redhat.com/contact"
|
href="https://www.redhat.com/contact"
|
||||||
variant="link"
|
variant="link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
isInline
|
isInline
|
||||||
>
|
>
|
||||||
contact us.
|
contact us.
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ function AnalyticsStep() {
|
|||||||
isInline
|
isInline
|
||||||
ouiaId="tower-documentation-link"
|
ouiaId="tower-documentation-link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
this Tower documentation page
|
this Tower documentation page
|
||||||
</Button>
|
</Button>
|
||||||
@@ -116,6 +117,7 @@ function AnalyticsStep() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
ouiaId="analytics-link"
|
ouiaId="analytics-link"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<Trans>Learn more about Automation Analytics</Trans>
|
<Trans>Learn more about Automation Analytics</Trans>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ function SubscriptionStep() {
|
|||||||
ouiaId="request-subscription-button"
|
ouiaId="request-subscription-button"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
{t`Request subscription`}
|
{t`Request subscription`}
|
||||||
</Button>
|
</Button>
|
||||||
@@ -103,6 +104,7 @@ function SubscriptionStep() {
|
|||||||
variant="link"
|
variant="link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
ouiaId="subscription-allocations-link"
|
ouiaId="subscription-allocations-link"
|
||||||
|
rel="noopener noreferrer"
|
||||||
isInline
|
isInline
|
||||||
>
|
>
|
||||||
subscription allocations
|
subscription allocations
|
||||||
@@ -127,6 +129,7 @@ function SubscriptionStep() {
|
|||||||
href="https://access.redhat.com/management/subscription_allocations"
|
href="https://access.redhat.com/management/subscription_allocations"
|
||||||
variant="link"
|
variant="link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
isInline
|
isInline
|
||||||
ouiaId="subscription-allocations-link"
|
ouiaId="subscription-allocations-link"
|
||||||
>
|
>
|
||||||
@@ -140,6 +143,7 @@ function SubscriptionStep() {
|
|||||||
)}/html/userguide/import_license.html`}
|
)}/html/userguide/import_license.html`}
|
||||||
variant="link"
|
variant="link"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
ouiaId="import-license-link"
|
ouiaId="import-license-link"
|
||||||
isInline
|
isInline
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ function SurveyQuestionForm({
|
|||||||
config
|
config
|
||||||
)}/html/userguide/job_templates.html#surveys`}
|
)}/html/userguide/job_templates.html#surveys`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
{t`documentation`}
|
{t`documentation`}
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ function VisualizerToolbar({
|
|||||||
variant="plain"
|
variant="plain"
|
||||||
component="a"
|
component="a"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
href={`${getDocsBaseUrl(
|
href={`${getDocsBaseUrl(
|
||||||
config
|
config
|
||||||
)}/html/userguide/workflow_templates.html#ug-wf-editor`}
|
)}/html/userguide/workflow_templates.html#ug-wf-editor`}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ const jtHelpTextStrings = () => ({
|
|||||||
<a
|
<a
|
||||||
href={`${getDocsBaseUrl(config)}/html/userguide/scheduling.html`}
|
href={`${getDocsBaseUrl(config)}/html/userguide/scheduling.html`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
{t`documentation`}
|
{t`documentation`}
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
|
|||||||
@@ -254,6 +254,7 @@ function Tooltip({
|
|||||||
href={`${instanceDetail.related?.install_bundle}`}
|
href={`${instanceDetail.related?.install_bundle}`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<DownloadIcon />
|
<DownloadIcon />
|
||||||
</PFButton>
|
</PFButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user