Skip to content

Commit

Permalink
fix: Fixing wording for 'Authorized' / 'Unauthorized' placehoolders
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Buziuk <[email protected]>
  • Loading branch information
ibuziuk committed Nov 24, 2023
1 parent 6589ae6 commit b02ee12
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ exports[`ProviderIcon component snapshot for the provider not authorized yet 1`]
/>
</svg>
<span>
User has not been authorized yet.
Unauthorized
</span>
</div>
`;
Expand All @@ -73,7 +73,7 @@ exports[`ProviderIcon component snapshot for the successfully authorized provide
/>
</svg>
<span>
User has been authorized successfully.
Authorized
</span>
</div>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class ProviderIcon extends React.PureComponent<Props, State> {
const { hasOauthToken, isSkipOauth } = this.state;
if (hasOauthToken) {
return (
<CheTooltip content={<span>User has been authorized successfully.</span>}>
<CheTooltip content={<span>Authorized</span>}>
<CheckCircleIcon color="var(--pf-global--success-color--100)" />
</CheTooltip>
);
Expand All @@ -90,7 +90,7 @@ export class ProviderIcon extends React.PureComponent<Props, State> {
}

return (
<CheTooltip content={<span>User has not been authorized yet.</span>}>
<CheTooltip content={<span>Unauthorized</span>}>
<ResourcesEmptyIcon color="var(--pf-global--disabled-color--100)" />
</CheTooltip>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ exports[`GitServices with 4 git services snapshot 1`] = `
/>
</svg>
<span>
User has been authorized successfully.
Authorized
</span>
</div>
</td>
Expand Down Expand Up @@ -332,7 +332,7 @@ exports[`GitServices with 4 git services snapshot 1`] = `
/>
</svg>
<span>
User has not been authorized yet.
Unauthorized
</span>
</div>
</td>
Expand Down Expand Up @@ -460,7 +460,7 @@ exports[`GitServices with 4 git services snapshot 1`] = `
/>
</svg>
<span>
User has not been authorized yet.
Unauthorized
</span>
</div>
</td>
Expand Down Expand Up @@ -588,7 +588,7 @@ exports[`GitServices with 4 git services snapshot 1`] = `
/>
</svg>
<span>
User has not been authorized yet.
Unauthorized
</span>
</div>
</td>
Expand Down

0 comments on commit b02ee12

Please sign in to comment.