Skip to content

Commit

Permalink
show specific msg if empty usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
matiastucci committed Aug 4, 2015
1 parent f89f10e commit b26b6c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/tab-users.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ <h2 class="username-list">{{username}}</h2>
</a>
</div>

<div ng-if="data.length == 0" class="card">
<div class="item item-text-wrap">
There are {{data.numUsers}} users
</div>
</div>

<div ng-if="data.length > 0" class="card">
<div class="item item-text-wrap">
... and {{data.numUsers - data.length}} more users
Expand Down

0 comments on commit b26b6c9

Please sign in to comment.