Comparison bug when deleting builds

This commit is contained in:
Colin McLeod
2015-05-26 00:18:37 -07:00
parent 0993a72d25
commit f54130f6a2
6 changed files with 53 additions and 10 deletions

View File

@@ -12,18 +12,15 @@ angular.module('app')
$scope.msgPost = 'Not Found';
break;
case 'no-ship':
//$rootScope.bodyClass = 'docking-bay';
$scope.msgPre = 'Ship';
$scope.msgHighlight = $p.message;
$scope.msgPost = 'does not exist';
break;
case 'build-fail':
//$rootScope.bodyClass = 'ship-explode'; // TODO: create background imag for this
$scope.msgPre = 'Build Failure!';
$scope.details = $p.details;
break;
default:
//$rootScope.bodyClass = 'thargoid'; // TODO: create background imag for this
$scope.msgPre = "Uh, Jameson, we have a problem..";
$scope.errorMessage = $p.message;
$scope.details = $p.details;