Merge pull request #10140 from AlexSCorey/boldifyUsersSubListsName

Adds bold to some list items 

SUMMARY
Some list items were not bolded during conversion to tables mistakenly
kicked off E2E tests
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME

UI

AWX VERSION
ADDITIONAL INFORMATION

Reviewed-by: Kersom <None>
This commit is contained in:
softwarefactory-project-zuul[bot]
2021-05-07 15:27:34 +00:00
committed by GitHub
3 changed files with 7 additions and 5 deletions
@@ -57,10 +57,10 @@ function ResourceAccessListItem({ accessRecord, onRoleDelete }) {
<Td id={`access-record-${accessRecord.id}`} dataLabel={t`Name`}>
{accessRecord.id ? (
<Link to={{ pathname: `/users/${accessRecord.id}/details` }}>
{accessRecord.username}
<b>{accessRecord.username}</b>
</Link>
) : (
accessRecord.username
<b>{accessRecord.username}</b>
)}
</Td>
<Td dataLabel={t`First name`}>{accessRecord.first_name}</Td>
@@ -12,10 +12,10 @@ function UserRolesListItem({ role, detailUrl, onSelect }) {
<Td id={labelId} dataLabel={t`Name`}>
{role.summary_fields.resource_name ? (
<Link to={`${detailUrl}`} id={labelId}>
{role.summary_fields.resource_name}
<b>{role.summary_fields.resource_name}</b>
</Link>
) : (
t`System`
<b>{t`System`}</b>
)}
</Td>
<Td dataLabel={t`Type`}>
@@ -16,7 +16,9 @@ function UserTeamListItem({ team, isSelected, onSelect, rowIndex }) {
}}
/>
<Td id={`team-${team.id}`} dataLabel={t`Name`}>
<Link to={`/teams/${team.id}/details`}>{team.name}</Link>
<Link to={`/teams/${team.id}/details`}>
<b>{team.name}</b>
</Link>
</Td>
<Td dataLabel={t`Organization`}>
{team.summary_fields.organization ? (