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