mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03:30
Remove instructions to add on empty mgmt jobs
This commit is contained in:
parent
a9aa91d9f2
commit
a0beb9e445
@ -37,6 +37,7 @@ function PaginatedTable({
|
||||
showPageSizeOptions,
|
||||
i18n,
|
||||
renderToolbar,
|
||||
emptyContentMessage,
|
||||
}) {
|
||||
const history = useHistory();
|
||||
|
||||
@ -73,9 +74,6 @@ function PaginatedTable({
|
||||
const queryParams = parseQueryString(qsConfig, history.location.search);
|
||||
|
||||
const dataListLabel = i18n._(t`${pluralizedItemName} List`);
|
||||
const emptyContentMessage = i18n._(
|
||||
t`Please add ${pluralizedItemName} to populate this list `
|
||||
);
|
||||
const emptyContentTitle = i18n._(t`No ${pluralizedItemName} Found `);
|
||||
|
||||
let Content;
|
||||
@ -85,7 +83,13 @@ function PaginatedTable({
|
||||
Content = <ContentError error={contentError} />;
|
||||
} else if (items.length <= 0) {
|
||||
Content = (
|
||||
<ContentEmpty title={emptyContentTitle} message={emptyContentMessage} />
|
||||
<ContentEmpty
|
||||
title={emptyContentTitle}
|
||||
message={
|
||||
emptyContentMessage ||
|
||||
i18n._(t`Please add ${pluralizedItemName} to populate this list `)
|
||||
}
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
Content = (
|
||||
|
||||
@ -80,6 +80,7 @@ function ManagementJobList({ i18n }) {
|
||||
items={items}
|
||||
itemCount={count}
|
||||
pluralizedItemName={i18n._(t`Management Jobs`)}
|
||||
emptyContentMessage={' '}
|
||||
toolbarSearchableKeys={searchableKeys}
|
||||
toolbarRelatedSearchableKeys={relatedSearchableKeys}
|
||||
toolbarSearchColumns={[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user