Fix Boostrap style.
This commit is contained in:
parent
99236d60ee
commit
81d8380c4a
@ -158,7 +158,7 @@ var EntryController = function($scope, $http, $rootScope, $filter) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(entry.sold < $scope.account.authorized_overdraft) {
|
if(entry.sold < $scope.account.authorized_overdraft) {
|
||||||
cssclass += " error";
|
cssclass += " danger";
|
||||||
} else if (entry.sold < 0) {
|
} else if (entry.sold < 0) {
|
||||||
cssclass += " warning";
|
cssclass += " warning";
|
||||||
}
|
}
|
||||||
@ -169,7 +169,7 @@ var EntryController = function($scope, $http, $rootScope, $filter) {
|
|||||||
// Returns the CSS class for an entry sold.
|
// Returns the CSS class for an entry sold.
|
||||||
$scope.entryValueClass = function(sold) {
|
$scope.entryValueClass = function(sold) {
|
||||||
if(sold && sold < $scope.account.authorized_overdraft) {
|
if(sold && sold < $scope.account.authorized_overdraft) {
|
||||||
return 'text-error';
|
return 'text-danger';
|
||||||
} else if (sold && sold < 0) {
|
} else if (sold && sold < 0) {
|
||||||
return 'text-warning';
|
return 'text-warning';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user