Added a filter on the users page for viewing inactive/removed users

Review Request #8650 — Created Jan. 21, 2017 and submitted — Latest diff uploaded

Information

Review Board
master
8ebbef2...

Reviewers

There's been a request to add a filter to the Users page that allows for showing those who are no longer part of the team. This was done by updating class 'UsersDataGrid' to introduce show/hide inactive users functionality. I also created templates/datagrids/user_listview.html to display the show/hide inactive toggle.

This was tested by changing a user from active to inactive via admin page. Then, I checked on the users page if an inactive user disappears after clicking 'Hide inactive', and whether an inactive user also appears after clicking 'Show inactive'.

Diff Revision 10

This is not the most recent revision of the diff. The latest diff is revision 11. See what's changed.

orig
1
2
3
4
5
6
7
8
9
10
11
reviewboard/datagrids/grids.py
reviewboard/templates/datagrids/user_listview.html
Loading...