mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 16:47:45 -02:30
add missing titles/labels, remove duplicate IDs
This commit is contained in:
@@ -123,6 +123,9 @@ function PaginatedTable({
|
|||||||
}
|
}
|
||||||
onSetPage={handleSetPage}
|
onSetPage={handleSetPage}
|
||||||
onPerPageSelect={handleSetPageSize}
|
onPerPageSelect={handleSetPageSize}
|
||||||
|
titles={{
|
||||||
|
paginationTitle: t`Top Pagination`,
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ function LineChart({ id, data, height, i18n, pageContext }) {
|
|||||||
.style('fill', () => colors(0))
|
.style('fill', () => colors(0))
|
||||||
.attr('cx', d => x(d.DATE))
|
.attr('cx', d => x(d.DATE))
|
||||||
.attr('cy', d => y(d.FAIL))
|
.attr('cy', d => y(d.FAIL))
|
||||||
.attr('id', d => `success-dot-${dateFormat(d.DATE)}`)
|
.attr('id', d => `fail-dot-${dateFormat(d.DATE)}`)
|
||||||
.on('mouseover', handleMouseOver)
|
.on('mouseover', handleMouseOver)
|
||||||
.on('mousemove', handleMouseMove)
|
.on('mousemove', handleMouseMove)
|
||||||
.on('mouseout', handleMouseOut);
|
.on('mouseout', handleMouseOut);
|
||||||
|
|||||||
@@ -43,8 +43,6 @@ function ExecutionEnvironmentListItem({
|
|||||||
setIsDisabled(false);
|
setIsDisabled(false);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const labelId = `check-action-${executionEnvironment.id}`;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tr id={`ee-row-${executionEnvironment.id}`}>
|
<Tr id={`ee-row-${executionEnvironment.id}`}>
|
||||||
<Td
|
<Td
|
||||||
@@ -56,15 +54,13 @@ function ExecutionEnvironmentListItem({
|
|||||||
}}
|
}}
|
||||||
dataLabel={i18n._(t`Selected`)}
|
dataLabel={i18n._(t`Selected`)}
|
||||||
/>
|
/>
|
||||||
<Td id={labelId} dataLabel={i18n._(t`Name`)}>
|
<Td id={`ee-name-${executionEnvironment.id}`} dataLabel={i18n._(t`Name`)}>
|
||||||
<Link to={`${detailUrl}`}>
|
<Link to={`${detailUrl}`}>
|
||||||
<b>{executionEnvironment.name}</b>
|
<b>{executionEnvironment.name}</b>
|
||||||
</Link>
|
</Link>
|
||||||
</Td>
|
</Td>
|
||||||
<Td id={labelId} dataLabel={i18n._(t`Image`)}>
|
<Td dataLabel={i18n._(t`Image`)}>{executionEnvironment.image}</Td>
|
||||||
{executionEnvironment.image}
|
<Td dataLabel={i18n._(t`Organization`)}>
|
||||||
</Td>
|
|
||||||
<Td id={labelId} dataLabel={i18n._(t`Organization`)}>
|
|
||||||
{executionEnvironment.organization ? (
|
{executionEnvironment.organization ? (
|
||||||
<Link
|
<Link
|
||||||
to={`/organizations/${executionEnvironment?.summary_fields?.organization?.id}/details`}
|
to={`/organizations/${executionEnvironment?.summary_fields?.organization?.id}/details`}
|
||||||
|
|||||||
Reference in New Issue
Block a user