mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 11:40:05 -03:30
Made delete prompts use the same styling
made the delete prompts more uniform
This commit is contained in:
@@ -94,7 +94,7 @@ function JobTemplatesList($scope, $rootScope, $location, $log, $routeParams, Res
|
||||
|
||||
Prompt({
|
||||
hdr: 'Delete',
|
||||
body: '<div class=\"alert alert-info\">Delete inventory ' + name + '?</div>',
|
||||
body: '<div class=\"alert alert-info\">Delete job template ' + name + '?</div>',
|
||||
action: action
|
||||
});
|
||||
};
|
||||
|
||||
@@ -89,7 +89,7 @@ function OrganizationsList($routeParams, $scope, $rootScope, $location, $log, Re
|
||||
|
||||
Prompt({
|
||||
hdr: 'Delete',
|
||||
body: "<div class\"alert alert-info\">Delete organization " + name + "?</div>",
|
||||
body: '<div class=\"alert alert-info\">Delete organization ' + name + '?</div>',
|
||||
action: action
|
||||
});
|
||||
};
|
||||
|
||||
@@ -269,7 +269,7 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
|
||||
Prompt({
|
||||
hdr: 'Delete',
|
||||
body: 'Are you sure you want to delete ' + name + '?',
|
||||
body: '<div class=\"alert alert-info\">Delete project ' + name + '?</div>',
|
||||
action: action
|
||||
});
|
||||
};
|
||||
|
||||
@@ -102,7 +102,7 @@ function TeamsList($scope, $rootScope, $location, $log, $routeParams, Rest, Aler
|
||||
|
||||
Prompt({
|
||||
hdr: 'Delete',
|
||||
body: 'Are you sure you want to delete ' + name + '?',
|
||||
body: '<div class=\"alert alert-info\">Delete team ' + name + '?</div>',
|
||||
action: action
|
||||
});
|
||||
};
|
||||
|
||||
@@ -93,7 +93,7 @@ function UsersList($scope, $rootScope, $location, $log, $routeParams, Rest, Aler
|
||||
|
||||
Prompt({
|
||||
hdr: 'Delete',
|
||||
body: 'Are you sure you want to delete ' + name + '?',
|
||||
body: '<div class=\"alert alert-info\">Delete user ' + name + '?</div>',
|
||||
action: action
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user