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