From f309054637399f4777e604e23543a112f93dec0f Mon Sep 17 00:00:00 2001 From: nixocio Date: Fri, 25 Mar 2022 15:37:34 -0400 Subject: [PATCH] Small style update Small style update to make a bit more consistent. --- .../Application/ApplicationTokens/ApplicationTokenListItem.js | 4 +++- .../ExecutionEnvironmentTemplateListItem.js | 4 +++- .../Inventory/InventoryHostGroups/InventoryHostGroupItem.js | 2 +- .../SmartInventoryHosts/SmartInventoryHostListItem.js | 4 +++- .../OrganizationExecEnvList/OrganizationExecEnvListItem.js | 4 +++- .../OrganizationTeams/OrganizationTeamListItem.js | 4 +++- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/awx/ui/src/screens/Application/ApplicationTokens/ApplicationTokenListItem.js b/awx/ui/src/screens/Application/ApplicationTokens/ApplicationTokenListItem.js index 08fad316a8..20ad58e699 100644 --- a/awx/ui/src/screens/Application/ApplicationTokens/ApplicationTokenListItem.js +++ b/awx/ui/src/screens/Application/ApplicationTokens/ApplicationTokenListItem.js @@ -26,7 +26,9 @@ function ApplicationTokenListItem({ dataLabel={t`Selected`} /> - {token.summary_fields.user.username} + + {token.summary_fields.user.username} + {toTitleCase(token.scope)} {formatDateString(token.expires)} diff --git a/awx/ui/src/screens/ExecutionEnvironment/ExecutionEnvironmentTemplate/ExecutionEnvironmentTemplateListItem.js b/awx/ui/src/screens/ExecutionEnvironment/ExecutionEnvironmentTemplate/ExecutionEnvironmentTemplateListItem.js index 3d6c22ec26..86f4c843f7 100644 --- a/awx/ui/src/screens/ExecutionEnvironment/ExecutionEnvironmentTemplate/ExecutionEnvironmentTemplateListItem.js +++ b/awx/ui/src/screens/ExecutionEnvironment/ExecutionEnvironmentTemplate/ExecutionEnvironmentTemplateListItem.js @@ -10,7 +10,9 @@ function ExecutionEnvironmentTemplateListItem({ template, detailUrl }) { ouiaId={`template-row-${template.id}`} > - {template.name} + + {template.name} + {template.type === 'job_template' diff --git a/awx/ui/src/screens/Inventory/InventoryHostGroups/InventoryHostGroupItem.js b/awx/ui/src/screens/Inventory/InventoryHostGroups/InventoryHostGroupItem.js index 836a4b958a..1d48038c17 100644 --- a/awx/ui/src/screens/Inventory/InventoryHostGroups/InventoryHostGroupItem.js +++ b/awx/ui/src/screens/Inventory/InventoryHostGroups/InventoryHostGroupItem.js @@ -35,7 +35,7 @@ function InventoryHostGroupItem({ /> - {group.name} + {group.name} diff --git a/awx/ui/src/screens/Inventory/SmartInventoryHosts/SmartInventoryHostListItem.js b/awx/ui/src/screens/Inventory/SmartInventoryHosts/SmartInventoryHostListItem.js index 42bcf98fec..ae5fe8aab3 100644 --- a/awx/ui/src/screens/Inventory/SmartInventoryHosts/SmartInventoryHostListItem.js +++ b/awx/ui/src/screens/Inventory/SmartInventoryHosts/SmartInventoryHostListItem.js @@ -31,7 +31,9 @@ function SmartInventoryHostListItem({ }} /> - {host.name} + + {host.name} + diff --git a/awx/ui/src/screens/Organization/OrganizationExecEnvList/OrganizationExecEnvListItem.js b/awx/ui/src/screens/Organization/OrganizationExecEnvList/OrganizationExecEnvListItem.js index 9fd3203d38..0da7b03842 100644 --- a/awx/ui/src/screens/Organization/OrganizationExecEnvList/OrganizationExecEnvListItem.js +++ b/awx/ui/src/screens/Organization/OrganizationExecEnvList/OrganizationExecEnvListItem.js @@ -14,7 +14,9 @@ function OrganizationExecEnvListItem({ executionEnvironment, detailUrl }) { ouiaId={`ee-row-${executionEnvironment.id}`} > - {executionEnvironment.name} + + {executionEnvironment.name} + {executionEnvironment.image} diff --git a/awx/ui/src/screens/Organization/OrganizationTeams/OrganizationTeamListItem.js b/awx/ui/src/screens/Organization/OrganizationTeams/OrganizationTeamListItem.js index 09c5d30f3a..fe472e5e18 100644 --- a/awx/ui/src/screens/Organization/OrganizationTeams/OrganizationTeamListItem.js +++ b/awx/ui/src/screens/Organization/OrganizationTeams/OrganizationTeamListItem.js @@ -12,7 +12,9 @@ function OrganizationTeamListItem({ team, detailUrl }) { return ( - {team.name} + + {team.name} +