Skip to content

Commit

Permalink
Temporatily fix for zero values displayed as negative; We need to get…
Browse files Browse the repository at this point in the history
… rid of decimals in a future release (planned)
  • Loading branch information
schinken committed Nov 30, 2016
1 parent cc60ef5 commit 74f52eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/lib/controllers/index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3 translate>indexInactiveUser</h3>
class="col-xs-2 panel panel-default"
title="{{user.name}}">
<div class="name">{{user.name}}</div>
<div class="balance" ng-class="user.balance < 0 ? 'negative' : ''">{{user.balance | number:2}} {{currency}}</div>
<div class="balance" ng-class="user.balance < -0.009 ? 'negative' : ''">{{user.balance | number:2}} {{currency}}</div>
</li>
<li class="col-xs-2 panel panel-default create-user" ng-click="createUserClick()">+</li>
</ul>
Expand Down

0 comments on commit 74f52eb

Please sign in to comment.