Fix frozen account display
This commit is contained in:
parent
1ab071d16e
commit
b224fedf28
2 changed files with 12 additions and 1 deletions
|
@ -41,10 +41,19 @@
|
|||
}
|
||||
|
||||
.frozen-account {
|
||||
background:#5072e0;
|
||||
background:#000FBA;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.frozen-account .btn-default {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.frozen-account .btn-default:hover, .frozen-account .btn-default.focus,
|
||||
.frozen-account .btn-default:focus {
|
||||
color: #ed2545;
|
||||
}
|
||||
|
||||
|
||||
.main .table a:not(.btn) {
|
||||
color: inherit;
|
||||
|
|
|
@ -69,6 +69,8 @@ var AccountView = Backbone.View.extend({
|
|||
attr_data_balance: function () {
|
||||
if (this.model.id == 0) {
|
||||
return '';
|
||||
} else if (this.model.get("is_frozen")) {
|
||||
return "frozen";
|
||||
} else if (this.model.get("balance") < 0) {
|
||||
return 'neg';
|
||||
} else if (this.model.get("balance") <= 5) {
|
||||
|
|
Loading…
Reference in a new issue