1
1
import { Trans , t } from '@lingui/macro' ;
2
2
import { Button , ClipboardCopyVariant } from '@patternfly/react-core' ;
3
3
import * as React from 'react' ;
4
- import { Link } from 'react-router-dom' ;
5
4
import { MyDistributionAPI } from 'src/api' ;
6
5
import {
7
6
AlertList ,
@@ -12,7 +11,6 @@ import {
12
11
closeAlertMixin ,
13
12
} from 'src/components' ;
14
13
import { AppContext } from 'src/loaders/app-context' ;
15
- import { Paths , formatPath } from 'src/paths' ;
16
14
import { RouteProps , withRouter } from 'src/utilities' ;
17
15
import { errorMessage , getRepoUrl } from 'src/utilities' ;
18
16
@@ -96,16 +94,10 @@ class TokenInsights extends React.Component<RouteProps, IState> {
96
94
< h2 > { t `Connect Private Automation Hub` } </ h2 >
97
95
< p >
98
96
< Trans >
99
- Use the{ ' ' }
100
- < Link to = { formatPath ( Paths . ansibleRepositories ) } >
101
- Repositories
102
- </ Link > { ' ' }
103
- page to sync collections curated by your organization to the Red
104
- Hat Certified repository in your private Automation Hub. Users
105
- with the correct permissions can use the sync toggles on the{ ' ' }
106
- < Link to = { formatPath ( Paths . collections ) } > Collections</ Link > page
107
- to control which collections are added to their
108
- organization's sync repository.
97
+ Use the Server URL below to sync certified collections to the
98
+ Red Hat Certified repository in your private Automation Hub. If
99
+ you wish to sync validated content, you can add a remote with a
100
+ server url pointed to the validated repo.
109
101
</ Trans >
110
102
</ p >
111
103
</ section >
@@ -185,13 +177,13 @@ class TokenInsights extends React.Component<RouteProps, IState> {
185
177
Use this URL to configure the API endpoints that clients need to
186
178
download certified content from Automation Hub. Synclists are
187
179
deprecated in AAP 2.4 and will be removed in a future release,
188
- instead use client-side requirements.yml. [link to AAP synclist
189
- documentation]
180
+ instead use client-side requirements.yml, see AAP 2.4
181
+ documentation.
190
182
</ Trans >
191
183
</ p >
192
184
< ClipboardCopy isReadOnly > { `${ getRepoUrl (
193
185
'published' ,
194
- ) } published/ `} </ ClipboardCopy >
186
+ ) } content/published `} </ ClipboardCopy >
195
187
</ section >
196
188
< section className = 'body pf-c-content' >
197
189
< h2 > { t `SSO URL` } </ h2 >
0 commit comments