diff --git a/awx/ui_next/src/components/JobList/JobListItem.jsx b/awx/ui_next/src/components/JobList/JobListItem.jsx
index a813641a7f..be3739ce6e 100644
--- a/awx/ui_next/src/components/JobList/JobListItem.jsx
+++ b/awx/ui_next/src/components/JobList/JobListItem.jsx
@@ -39,7 +39,7 @@ function JobListItem({
project_update: i18n._(t`Source Control Update`),
inventory_update: i18n._(t`Inventory Sync`),
job: i18n._(t`Playbook Run`),
- command: i18n._(t`Command`),
+ ad_hoc_command: i18n._(t`Command`),
management_job: i18n._(t`Management Job`),
workflow_job: i18n._(t`Workflow Job`),
};
diff --git a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx
index 4c1dedacee..9963fbbba8 100644
--- a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx
+++ b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx
@@ -92,6 +92,15 @@ function JobDetail({ job, i18n }) {
const [errorMsg, setErrorMsg] = useState();
const history = useHistory();
+ const jobTypes = {
+ project_update: i18n._(t`Source Control Update`),
+ inventory_update: i18n._(t`Inventory Sync`),
+ job: i18n._(t`Playbook Run`),
+ ad_hoc_command: i18n._(t`Command`),
+ management_job: i18n._(t`Management Job`),
+ workflow_job: i18n._(t`Workflow Job`),
+ };
+
const { value: launchedByValue, link: launchedByLink } =
getLaunchedByDetails(job) || {};
@@ -181,7 +190,7 @@ function JobDetail({ job, i18n }) {
}
/>
)}
-
+
', () => {
assertDetail('Started', '8/8/2019, 7:24:18 PM');
assertDetail('Finished', '8/8/2019, 7:24:50 PM');
assertDetail('Job Template', mockJobData.summary_fields.job_template.name);
- assertDetail('Job Type', 'Run');
+ assertDetail('Job Type', 'Playbook Run');
assertDetail('Launched By', mockJobData.summary_fields.created_by.username);
assertDetail('Inventory', mockJobData.summary_fields.inventory.name);
assertDetail(