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) {
|
||||
cssclass += " error";
|
||||
cssclass += " danger";
|
||||
} else if (entry.sold < 0) {
|
||||
cssclass += " warning";
|
||||
}
|
||||
@ -169,7 +169,7 @@ var EntryController = function($scope, $http, $rootScope, $filter) {
|
||||
// Returns the CSS class for an entry sold.
|
||||
$scope.entryValueClass = function(sold) {
|
||||
if(sold && sold < $scope.account.authorized_overdraft) {
|
||||
return 'text-error';
|
||||
return 'text-danger';
|
||||
} else if (sold && sold < 0) {
|
||||
return 'text-warning';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user