mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Fixed issue with related set action buttons.
This commit is contained in:
parent
fc8b77823d
commit
ac7f4af94d
@ -83,7 +83,7 @@ angular.module('OrganizationFormDefinition', [])
|
||||
label: 'Edit',
|
||||
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
|
||||
icon: 'icon-edit',
|
||||
'class': 'btn btn-default',
|
||||
'class': 'btn-default',
|
||||
awToolTip: 'Edit user'
|
||||
},
|
||||
"delete": {
|
||||
@ -128,7 +128,7 @@ angular.module('OrganizationFormDefinition', [])
|
||||
ngClick: "edit('users', \{\{ admin.id \}\}, '\{\{ admin.username \}\}')",
|
||||
icon: 'icon-edit',
|
||||
awToolTip: 'Edit administrator',
|
||||
'class': 'btn btn-default'
|
||||
'class': 'btn-default'
|
||||
},
|
||||
"delete": {
|
||||
label: 'Delete',
|
||||
|
||||
@ -722,8 +722,6 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
|
||||
|
||||
// Start the update process
|
||||
scope.updateGroup = function() {
|
||||
console.log('working on id: ' + scope.name);
|
||||
console.log('source: ' + scope.source.value);
|
||||
if (scope.source == "" || scope.source == null) {
|
||||
Alert('Missing Configuration', 'The selected group is not configured for updates. You must first edit the group, provide Source settings, ' +
|
||||
'and then run an update.', 'alert-info');
|
||||
|
||||
@ -1522,9 +1522,9 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
|
||||
html += "<button type=\"button\" class=\"btn btn-xs";
|
||||
html += (action['class']) ? " " + action['class'] : "";
|
||||
html += "\" ";
|
||||
html += "id=\"row" + action + "_btn\" ";
|
||||
html += "id=\"row" + act + "_btn\" ";
|
||||
html += this.attr(action,'ngClick');
|
||||
html += this.attr(action, 'ngShow');
|
||||
html += (action.ngShow) ? this.attr(action, 'ngShow') : "";
|
||||
html += (action.awToolTip) ? this.attr(action,'awToolTip') : "";
|
||||
html += (action.awToolTip) ? "data-placement=\"top\" " : "";
|
||||
html += ">" + this.icon(action.icon);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user