Skip to content

Commit

Permalink
Change text from 'Regular CV' to CV
Browse files Browse the repository at this point in the history
  • Loading branch information
Manisha15 committed Jan 9, 2025
1 parent 8d68c30 commit eadaca8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions webpack/scenes/ContentViews/Create/CreateContentViewForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ const CreateContentViewForm = ({ setModalOpen }) => {
aria-label="component_tile"
icon={<ContentViewIcon composite={false} rolling={false} />}
id="component"
title={__('Regular content view')}
title={__('Content view')}
onClick={() => { setComponent(true); setComposite(false); setRolling(false); }}
isSelected={component}
>
{__('Contains a set of versioned and optionally filtered repositories')}
{__('Consists of repositories. Each version is a snapshot which must be published and may optionally be filtered.')}
</Tile>
</GridItem>
<GridItem span={4}>
Expand All @@ -158,7 +158,7 @@ const CreateContentViewForm = ({ setModalOpen }) => {
onClick={() => { setComposite(true); setComponent(false); setRolling(false); }}
isSelected={composite}
>
{__('Contains a set of regular content views')}
{__('Contains a set of content views')}
</Tile>
</GridItem>
<GridItem span={4}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ test('Displays dependent fields correctly', () => {
expect(getByText('Name')).toBeInTheDocument();
expect(getByText('Label')).toBeInTheDocument();
expect(getByText('Composite content view')).toBeInTheDocument();
expect(getByText('Regular content view')).toBeInTheDocument();
expect(getByText('Content view')).toBeInTheDocument();
expect(getByText('Rolling content view')).toBeInTheDocument();
expect(getByText('Solve dependencies')).toBeInTheDocument();
expect(queryByText('Auto publish')).not.toBeInTheDocument();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ test('Displays Create Content View and opens modal with Form', async () => {
expect(getByText('Label')).toBeInTheDocument();
expect(getByText('Composite content view')).toBeInTheDocument();
expect(getByText('Rolling content view')).toBeInTheDocument();
expect(getByText('Regular content view')).toBeInTheDocument();
expect(getByText('Content view')).toBeInTheDocument();
expect(getByText('Solve dependencies')).toBeInTheDocument();
expect(queryByText('Auto publish')).not.toBeInTheDocument();
});
Expand Down
6 changes: 3 additions & 3 deletions webpack/scenes/ContentViews/components/ContentViewsCounter.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ const ContentViewsCounter = () => {
<ContentViewIcon
composite={false}
rolling={false}
description={__('Regular content views')}
description={__('Content views')}
count={(component || component === 0) ? component : <InProgressIcon />}
/>
</FlexItem>
<FlexItem>
<Tooltip
position="top"
content={
__('Contains a set of versioned and optionally filtered repositories')
__('Consists of repositories. Each version is a snapshot which must be published and may optionally be filtered.')
}
>
<OutlinedQuestionCircleIcon />
Expand All @@ -54,7 +54,7 @@ const ContentViewsCounter = () => {
<Tooltip
position="top"
content={
__('Contains a set of regular content views')
__('Contains a set of content views')
}
>
<OutlinedQuestionCircleIcon />
Expand Down

0 comments on commit eadaca8

Please sign in to comment.