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