Latest UI changes.

This commit is contained in:
chouseknecht 2013-09-03 12:30:06 -04:00
parent 1d19bd9c06
commit a6c1e3385b
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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'