Skip to content

Commit

Permalink
Show pulp and ansible cli urls in local repo list (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaNemeckova authored Oct 2, 2020
1 parent e4ff238 commit 40610d2
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/components/repositories/local-repository-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
Title,
ClipboardCopy,
} from '@patternfly/react-core';
import { WarningTriangleIcon, WrenchIcon } from '@patternfly/react-icons';
import { WarningTriangleIcon } from '@patternfly/react-icons';
import { SortTable, StatefulDropdown } from '..';
import * as moment from 'moment';
import { Constants } from '../../constants';
Expand Down Expand Up @@ -71,9 +71,14 @@ export class LocalRepositoryTable extends React.Component<IProps> {
id: 'updated_at',
},
{
title: 'URL',
title: 'Sync URL',
type: 'none',
id: 'url',
id: 'pulp_url',
},
{
title: 'Ansible CLI URL',
type: 'none',
id: 'ansible_cli_url',
},
{
title: '',
Expand Down Expand Up @@ -124,6 +129,11 @@ export class LocalRepositoryTable extends React.Component<IProps> {
{getRepoUrl(distribution.base_path) + 'v3/collections'}
</ClipboardCopy>
</td>
<td>
<ClipboardCopy isReadOnly>
{getRepoUrl(distribution.base_path)}
</ClipboardCopy>
</td>
<td>
<span>
<StatefulDropdown
Expand Down

0 comments on commit 40610d2

Please sign in to comment.