mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 20:20:06 -03:30
AC-682 Made project help text changes. Found a way to get help icon tool-tip to display top while help text pop-out displays left. Added status drop-dwon options on projects search filter.
This commit is contained in:
@@ -117,6 +117,22 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
scope.search(list.iterator);
|
||||
});
|
||||
|
||||
if (scope.removeStatusOptionsReady) {
|
||||
scope.removeStatusOptionsReady();
|
||||
}
|
||||
scope.removeStatusOptionsReady = scope.$on('statusOptionsReady', function() {
|
||||
list.fields.status.searchOptions = scope.project_status_options;
|
||||
});
|
||||
|
||||
// Load options for status --used in search
|
||||
GetChoices({
|
||||
scope: scope,
|
||||
url: defaultUrl,
|
||||
field: 'status',
|
||||
variable: 'project_status_options',
|
||||
callback: 'statusOptionsReady'
|
||||
});
|
||||
|
||||
// Load the list of options for Kind
|
||||
GetChoices({
|
||||
scope: scope,
|
||||
@@ -126,7 +142,6 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
callback: 'choicesReady'
|
||||
});
|
||||
|
||||
|
||||
LoadBreadCrumbs();
|
||||
|
||||
scope.showActivity = function() { Stream(); }
|
||||
|
||||
Reference in New Issue
Block a user