mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -02:30
Fixed title on inventory-> hosts-> group edit dialog
This commit is contained in:
@@ -675,8 +675,8 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H
|
|||||||
var generator = GenerateForm;
|
var generator = GenerateForm;
|
||||||
var actions = [];
|
var actions = [];
|
||||||
|
|
||||||
var html="<div class=\"host-groups-title\"><h4>{{ host.name }}</h4></div>\n";
|
//var html="<div class=\"host-groups-title\"><h4>{{ host.name }}</h4></div>\n";
|
||||||
html += "<div class=\"row host-groups\">\n";
|
var html = "<div class=\"row host-groups\">\n";
|
||||||
html += "<div class=\"col-lg-6\">\n";
|
html += "<div class=\"col-lg-6\">\n";
|
||||||
html += "<label>Available Groups:</label>\n";
|
html += "<label>Available Groups:</label>\n";
|
||||||
html += "<select multiple class=\"form-control\" name=\"available-groups\" ng-model=\"selectedGroups\" ng-change=\"leftChange()\" " +
|
html += "<select multiple class=\"form-control\" name=\"available-groups\" ng-model=\"selectedGroups\" ng-change=\"leftChange()\" " +
|
||||||
@@ -713,7 +713,8 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H
|
|||||||
scope.rightButtonDisabled = true;
|
scope.rightButtonDisabled = true;
|
||||||
|
|
||||||
scope.formModalActionLabel = 'Save';
|
scope.formModalActionLabel = 'Save';
|
||||||
scope.formModalHeader = 'Host Groups';
|
//scope.formModalHeader = 'Host Groups';
|
||||||
|
scope.formModalHeader = scope.host.name + ' - <span class=\"subtitle\">Groups</span>';
|
||||||
scope.formModalCancelShow = true;
|
scope.formModalCancelShow = true;
|
||||||
scope.formModalActionDisabled = true;
|
scope.formModalActionDisabled = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user