diff --git a/atst/routes/__init__.py b/atst/routes/__init__.py index 9e138aca..0729d878 100644 --- a/atst/routes/__init__.py +++ b/atst/routes/__init__.py @@ -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") diff --git a/templates/ccpo/users.html b/templates/ccpo/users.html index 459d1554..f3d545de 100644 --- a/templates/ccpo/users.html +++ b/templates/ccpo/users.html @@ -2,8 +2,26 @@ {% block content %}
- - CCPO Stuff goes here - +
+ CCPO Users +
+ + + + + + + + + + {% for user in users %} + + + + + + {% endfor %} + +
NameEmailDoD ID
{{ user.full_name }}{{ user.email }}{{ user.dod_id }}
{% endblock %}