Skip to content

Commit

Permalink
Changing ID column to show ascending order instead of actual id for
Browse files Browse the repository at this point in the history
users and teams
  • Loading branch information
arxcruz committed Jan 5, 2016
1 parent 56207c5 commit ff11cf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stackquery/static/partial/views/teams.html
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ <h4>Team name</h4>
</div>
<div class="row" dir-paginate="team in teams | filter:searchKey | itemsPerPage: pageSize" pagination-id="listTeams" current-page="currentPage" ng-class-odd="'oddRow'">
<div class="col-sm-1">
{{team.id}}
{{$index + 1}}
</div>
<div class="col-sm-9">
{{team.name}}
Expand Down
4 changes: 2 additions & 2 deletions stackquery/static/partial/views/users.html
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ <h4>Email</h4>
<div class="row" dir-paginate="user in users | filter:searchKey | itemsPerPage: pageSize" pagination-id="listUsers" current-page="currentPage" ng-class-odd="'oddRow'">
<div ng-show="isInReadMode(user.id)">
<div class="col-sm-1">
{{user.id}}
{{$index + 1}}
</div>
<div class="col-sm-2">
{{user.user_id}}
Expand Down Expand Up @@ -262,7 +262,7 @@ <h4>Email</h4>
</div>
<div ng-show="isInEditMode(user.id)">
<div class="col-sm-1">
{{user.id}}
{{$index + 1}}
</div>
<div class="col-sm-2">
<input class="form-control" type="text"
Expand Down

0 comments on commit ff11cf7

Please sign in to comment.