mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Merge pull request #3992 from marshmalien/isolated-badge
Add isolated badge to isolated instance groups Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
c7f49c1193
@ -527,7 +527,7 @@ function getInstanceGroupDetails () {
|
||||
|
||||
let isolated = null;
|
||||
|
||||
if (instanceGroup.controller_id) {
|
||||
if (instanceGroup.is_isolated) {
|
||||
isolated = strings.get('details.ISOLATED');
|
||||
}
|
||||
|
||||
|
@ -14,6 +14,7 @@ function InstanceGroupsStrings (BaseString) {
|
||||
MANUAL: t.s('MANUAL'),
|
||||
PANEL_TITLE: t.s('INSTANCE GROUPS'),
|
||||
ROW_ITEM_LABEL_INSTANCES: t.s('Instances'),
|
||||
ROW_ITEM_LABEL_ISOLATED: t.s('ISOLATED'),
|
||||
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')
|
||||
|
@ -45,7 +45,9 @@
|
||||
<div class="at-Row-items">
|
||||
<at-row-item
|
||||
header-value="{{ instance_group.name }}"
|
||||
header-link="/#/instance_groups/{{ instance_group.id }}">
|
||||
header-link="/#/instance_groups/{{ instance_group.id }}"
|
||||
header-tag="{{ instance_group.is_isolated ? vm.strings.get('list.ROW_ITEM_LABEL_ISOLATED') : '' }}"
|
||||
>
|
||||
</at-row-item>
|
||||
|
||||
<div class="at-Row--inline">
|
||||
|
Loading…
Reference in New Issue
Block a user