mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
AC-442 project status OK now displayed as NA. Updated help also. Status badge still shows as green. Lost the Status button, replacing with link. Column Status is now Update Status.t
This commit is contained in:
@@ -35,10 +35,14 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
scope.projectsPostRefresh = scope.$on('PostRefresh', function() {
|
||||
if (scope.projects) {
|
||||
for (var i=0; i < scope.projects.length; i++) {
|
||||
if (scope.projects[i].status == 'ok') {
|
||||
scope.projects[i].status = 'n/a';
|
||||
}
|
||||
switch(scope.projects[i].status) {
|
||||
case 'updating':
|
||||
case 'successful':
|
||||
case 'ok':
|
||||
case 'n/a':
|
||||
scope.projects[i].badge = 'false';
|
||||
break;
|
||||
case 'never updated':
|
||||
|
||||
Reference in New Issue
Block a user