Skip to content

Commit

Permalink
SAT-15137 - Rename inventory sync and restart button
Browse files Browse the repository at this point in the history
* Renamed restart to Generate and upload report
* Renamed Sync inventory status to Sync all Inventory Status
  • Loading branch information
chris1984 committed Dec 19, 2024
1 parent d8d9703 commit 3af23de
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for how to install Foreman plugins

#### Inventory upload

In UI: Configure -> Inventory Upload -> Restart
In UI: Configure -> Inventory Upload -> Generate and upload report

From command-line:

Expand Down Expand Up @@ -46,7 +46,7 @@ From command-line:

#### Synchronize inventory status

In UI: Configure -> Inventory Upload -> Sync inventory status
In UI: Configure -> Inventory Upload -> Sync all inventory status

From command-line:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export const PageDescription = () => (
'To manually upload the data for a specific organization, select an organization and click {restartButtonName}.'
)}
values={{
restartButtonName: <strong>{__('Restart')}</strong>,
restartButtonName: (
<strong>{__('Generate and upload report')}</strong>
),
}}
/>
</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports[`PageDescription rendering render without Props 1`] = `
values={
Object {
"restartButtonName": <strong>
Restart
Generate and upload report
</strong>,
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`SyncButton rendering render with Props 1`] = `
size="lg"
variant="secondary"
>
Sync inventory status
Sync all inventory status
</Button>
</Fragment>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TabHeader = ({ exitCode, onRestart, onDownload, toggleFullScreen }) => (
onClick={onRestart}
disabled={isExitCodeLoading(exitCode)}
>
{__('Restart')}
{__('Generate and upload report')}
</Button>
) : null}
{onDownload ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export const DOCS_BUTTON_TEXT = __('Documentation');

export const ACTIONS_HISTORY_BUTTON_TEXT = __('Actions history');

export const SYNC_BUTTON_TEXT = __(' Sync inventory status');
export const SYNC_BUTTON_TEXT = __(' Sync all inventory status');

export const CLOUD_PING_TITLE = __('Connectivity test');

0 comments on commit 3af23de

Please sign in to comment.