Update template to show table of CCPO users

This commit is contained in:
leigh-mil
2019-08-05 16:11:24 -04:00
parent 90ae235cd0
commit 083896a689
2 changed files with 23 additions and 4 deletions

View File

@@ -135,7 +135,8 @@ def activity_history():
@bp.route("/ccpo-users")
@user_can(Permissions.VIEW_CCPO_USER, message="view ccpo users")
def ccpo_users():
return render_template("ccpo/users.html")
users = Users.get_ccpo_users()
return render_template("ccpo/users.html", users=users)
@bp.route("/about")