diff --git a/awx/ui/client/features/jobs/routes/instanceGroupJobs.route.js b/awx/ui/client/features/jobs/routes/instanceGroupJobs.route.js
index 7bfda756bc..fe86b78774 100644
--- a/awx/ui/client/features/jobs/routes/instanceGroupJobs.route.js
+++ b/awx/ui/client/features/jobs/routes/instanceGroupJobs.route.js
@@ -16,8 +16,7 @@ export default {
job_search: {
value: {
page_size: '10',
- order_by: '-id',
- status: 'running'
+ order_by: '-finished'
},
dynamic: true
}
diff --git a/awx/ui/client/features/jobs/routes/instanceJobs.route.js b/awx/ui/client/features/jobs/routes/instanceJobs.route.js
index 06019bcf22..c7ec885e96 100644
--- a/awx/ui/client/features/jobs/routes/instanceJobs.route.js
+++ b/awx/ui/client/features/jobs/routes/instanceJobs.route.js
@@ -9,7 +9,7 @@ export default {
name: 'instanceGroups.instanceJobs',
url: '/:instance_group_id/instances/:instance_id/jobs',
ncyBreadcrumb: {
- parent: 'instanceGroups.edit',
+ parent: 'instanceGroups.instances',
label: N_('JOBS')
},
views: {
diff --git a/awx/ui/client/lib/components/list/row-item.partial.html b/awx/ui/client/lib/components/list/row-item.partial.html
index 48e309db8e..f9119930a5 100644
--- a/awx/ui/client/lib/components/list/row-item.partial.html
+++ b/awx/ui/client/lib/components/list/row-item.partial.html
@@ -27,7 +27,7 @@
{{ labelValue }}
{{ value }}
diff --git a/awx/ui/client/src/instance-groups/capacity-adjuster/capacity-adjuster.directive.js b/awx/ui/client/src/instance-groups/capacity-adjuster/capacity-adjuster.directive.js
index e36916aca8..678b47d078 100644
--- a/awx/ui/client/src/instance-groups/capacity-adjuster/capacity-adjuster.directive.js
+++ b/awx/ui/client/src/instance-groups/capacity-adjuster/capacity-adjuster.directive.js
@@ -1,4 +1,4 @@
-function CapacityAdjuster (templateUrl, ProcessErrors, Wait) {
+function CapacityAdjuster (templateUrl, ProcessErrors, Wait, strings) {
return {
scope: {
state: '=',
@@ -9,10 +9,10 @@ function CapacityAdjuster (templateUrl, ProcessErrors, Wait) {
replace: true,
link: function(scope) {
const adjustment_values = [{
- label: 'CPU',
+ label: strings.get('capacityAdjuster.CPU'),
value: scope.state.cpu_capacity,
},{
- label: 'RAM',
+ label: strings.get('capacityAdjuster.RAM'),
value: scope.state.mem_capacity
}];
@@ -51,7 +51,8 @@ function CapacityAdjuster (templateUrl, ProcessErrors, Wait) {
CapacityAdjuster.$inject = [
'templateUrl',
'ProcessErrors',
- 'Wait'
+ 'Wait',
+ 'InstanceGroupsStrings'
];
export default CapacityAdjuster;
\ No newline at end of file
diff --git a/awx/ui/client/src/instance-groups/instance-groups.partial.html b/awx/ui/client/src/instance-groups/instance-groups.partial.html
index bdc05274b6..562676ffdc 100644
--- a/awx/ui/client/src/instance-groups/instance-groups.partial.html
+++ b/awx/ui/client/src/instance-groups/instance-groups.partial.html
@@ -3,12 +3,10 @@
-
+
-
-
diff --git a/awx/ui/client/src/instance-groups/instance-groups.strings.js b/awx/ui/client/src/instance-groups/instance-groups.strings.js
index e21ff78396..6e4cb2c66d 100644
--- a/awx/ui/client/src/instance-groups/instance-groups.strings.js
+++ b/awx/ui/client/src/instance-groups/instance-groups.strings.js
@@ -10,7 +10,11 @@ function InstanceGroupsStrings (BaseString) {
};
ns.list = {
- PANEL_TITLE: t.s('INSTANCE GROUPS')
+ PANEL_TITLE: t.s('INSTANCE GROUPS'),
+ ROW_ITEM_LABEL_INSTANCES: t.s('Instances'),
+ ROW_ITEM_LABEL_RUNNING_JOBS: t.s('Running Jobs'),
+ ROW_ITEM_LABEL_TOTAL_JOBS: t.s('Total Jobs'),
+ ROW_ITEM_LABEL_USED_CAPACITY: t.s('Used Capacity')
};
ns.tab = {
@@ -33,6 +37,11 @@ function InstanceGroupsStrings (BaseString) {
IS_OFFLINE_LABEL: t.s('Unavailable')
};
+ ns.capacityAdjuster = {
+ CPU: t.s('CPU'),
+ RAM: t.s('RAM')
+ };
+
ns.jobs = {
PANEL_TITLE: t.s('Jobs')
};
diff --git a/awx/ui/client/src/instance-groups/instances/instances-list.partial.html b/awx/ui/client/src/instance-groups/instances/instances-list.partial.html
index 01868ef35d..ecb3d8e600 100644
--- a/awx/ui/client/src/instance-groups/instances/instances-list.partial.html
+++ b/awx/ui/client/src/instance-groups/instances/instances-list.partial.html
@@ -61,17 +61,24 @@
-
+
diff --git a/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html b/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html
index 5aa48b1f29..7e07fb4d5f 100644
--- a/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html
+++ b/awx/ui/client/src/instance-groups/list/instance-groups-list.partial.html
@@ -45,25 +45,31 @@