mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
Latest UI changes.
This commit is contained in:
parent
1d19bd9c06
commit
a6c1e3385b
@ -27,10 +27,10 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
|
||||
var url = (base == 'teams') ? GetBasePath('teams') + $routeParams.team_id + '/projects/' : defaultUrl;
|
||||
SelectionInit({ scope: scope, list: list, url: url, returnToCaller: 1 });
|
||||
|
||||
if (scope.postRefreshRemove) {
|
||||
scope.postRefereshRemove();
|
||||
if (scope.projectsPostRefresh) {
|
||||
scope.projectsPostRefresh();
|
||||
}
|
||||
scope.postRefreshRemove = scope.$on('PostRefresh', function() {
|
||||
scope.projectsPostRefresh = scope.$on('PostRefresh', function() {
|
||||
for (var i=0; i < scope.projects.length; i++) {
|
||||
if (scope.projects[i].scm_type == null) {
|
||||
// override the last_update_failed on manual projects- it should be false so we get a
|
||||
|
||||
@ -24,7 +24,7 @@ angular.module('ProjectsListDefinition', [])
|
||||
key: true,
|
||||
label: 'Name',
|
||||
badgeIcon: "\{\{ 'icon-failures-' + project.last_update_failed \}\}",
|
||||
badgePlacement: 'left',
|
||||
badgePlacement: 'left'
|
||||
},
|
||||
description: {
|
||||
label: 'Description'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user