mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Adds link to docs on container groups add/edit forms to match instance groups. Updates instance groups link.
This commit is contained in:
parent
804a3c17bf
commit
8ff413efc0
@ -7,8 +7,8 @@ function AddController ($state, models, strings) {
|
|||||||
vm.panelTitle = strings.get('state.ADD_BREADCRUMB_LABEL');
|
vm.panelTitle = strings.get('state.ADD_BREADCRUMB_LABEL');
|
||||||
|
|
||||||
vm.docs = {
|
vm.docs = {
|
||||||
url: 'https://docs.ansible.com/ansible-tower/latest/html/administration/clustering.html',
|
url: 'https://docs.ansible.com/ansible-tower/latest/html/userguide/instance_groups.html',
|
||||||
help_text: vm.strings.get('tooltips.DOCS_HELP_TEXT')
|
help_text: vm.strings.get('tooltips.IG_DOCS_HELP_TEXT')
|
||||||
};
|
};
|
||||||
|
|
||||||
vm.tab = {
|
vm.tab = {
|
||||||
|
|||||||
@ -17,8 +17,8 @@ function EditController ($rootScope, $state, models, strings) {
|
|||||||
vm.panelTitle = instanceGroup.get('name');
|
vm.panelTitle = instanceGroup.get('name');
|
||||||
|
|
||||||
vm.docs = {
|
vm.docs = {
|
||||||
url: 'https://docs.ansible.com/ansible-tower/latest/html/administration/clustering.html',
|
url: 'https://docs.ansible.com/ansible-tower/latest/html/userguide/instance_groups.html',
|
||||||
help_text: vm.strings.get('tooltips.DOCS_HELP_TEXT')
|
help_text: vm.strings.get('tooltips.IG_DOCS_HELP_TEXT')
|
||||||
};
|
};
|
||||||
|
|
||||||
vm.tab = {
|
vm.tab = {
|
||||||
|
|||||||
@ -10,6 +10,11 @@ function AddContainerGroupController(ToJSON, $scope, $state, models, strings, i1
|
|||||||
vm.panelTitle = strings.get('state.ADD_CONTAINER_GROUP_BREADCRUMB_LABEL');
|
vm.panelTitle = strings.get('state.ADD_CONTAINER_GROUP_BREADCRUMB_LABEL');
|
||||||
vm.lookUpTitle = strings.get('container.LOOK_UP_TITLE');
|
vm.lookUpTitle = strings.get('container.LOOK_UP_TITLE');
|
||||||
|
|
||||||
|
vm.docs = {
|
||||||
|
url: 'https://docs.ansible.com/ansible-tower/latest/html/administration/external_execution_envs.html#ag-container-groups',
|
||||||
|
help_text: vm.strings.get('tooltips.CG_DOCS_HELP_TEXT')
|
||||||
|
};
|
||||||
|
|
||||||
vm.form = instanceGroup.createFormSchema('post');
|
vm.form = instanceGroup.createFormSchema('post');
|
||||||
vm.form.name.required = true;
|
vm.form.name.required = true;
|
||||||
delete vm.form.name.help_text;
|
delete vm.form.name.help_text;
|
||||||
|
|||||||
@ -6,7 +6,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<at-panel>
|
<at-panel>
|
||||||
<at-panel-heading title="{{:: vm.panelTitle }}"></at-panel-heading>
|
<at-panel-heading title="{{:: vm.panelTitle }}">
|
||||||
|
<a class="Panel-docsLink" ng-href="{{ vm.docs.url }}" target="_blank" aw-tool-tip="{{:: vm.docs.help_text }}">
|
||||||
|
<i class="fa fa-book"></i>
|
||||||
|
</a>
|
||||||
|
</at-panel-heading>
|
||||||
<at-tab-group>
|
<at-tab-group>
|
||||||
<at-tab state="vm.tab.details">{{:: vm.strings.get('tab.DETAILS') }}</at-tab>
|
<at-tab state="vm.tab.details">{{:: vm.strings.get('tab.DETAILS') }}</at-tab>
|
||||||
<at-tab state="vm.tab.jobs">{{:: vm.strings.get('tab.JOBS') }}</at-tab>
|
<at-tab state="vm.tab.jobs">{{:: vm.strings.get('tab.JOBS') }}</at-tab>
|
||||||
|
|||||||
@ -23,6 +23,11 @@ function EditContainerGroupController($rootScope, $scope, $state, models, string
|
|||||||
vm.panelTitle = EditContainerGroupDataset.data.name;
|
vm.panelTitle = EditContainerGroupDataset.data.name;
|
||||||
vm.lookUpTitle = strings.get('container.LOOK_UP_TITLE');
|
vm.lookUpTitle = strings.get('container.LOOK_UP_TITLE');
|
||||||
|
|
||||||
|
vm.docs = {
|
||||||
|
url: 'https://docs.ansible.com/ansible-tower/latest/html/administration/external_execution_envs.html#ag-container-groups',
|
||||||
|
help_text: vm.strings.get('tooltips.CG_DOCS_HELP_TEXT')
|
||||||
|
};
|
||||||
|
|
||||||
vm.form = instanceGroup.createFormSchema('post');
|
vm.form = instanceGroup.createFormSchema('post');
|
||||||
vm.switchDisabled = false;
|
vm.switchDisabled = false;
|
||||||
vm.form.disabled = !instanceGroup.has('options', 'actions.PUT');
|
vm.form.disabled = !instanceGroup.has('options', 'actions.PUT');
|
||||||
|
|||||||
@ -32,7 +32,8 @@ function InstanceGroupsStrings(BaseString) {
|
|||||||
ns.tooltips = {
|
ns.tooltips = {
|
||||||
ADD_INSTANCE_GROUP: t.s('Create a new Instance Group'),
|
ADD_INSTANCE_GROUP: t.s('Create a new Instance Group'),
|
||||||
ASSOCIATE_INSTANCES: t.s('Associate an existing Instance'),
|
ASSOCIATE_INSTANCES: t.s('Associate an existing Instance'),
|
||||||
DOCS_HELP_TEXT: t.s('Instance Groups Help')
|
IG_DOCS_HELP_TEXT: t.s('Instance Groups Help'),
|
||||||
|
CG_DOCS_HELP_TEXT: t.s('Container Groups Help')
|
||||||
};
|
};
|
||||||
|
|
||||||
ns.instance = {
|
ns.instance = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user