diff --git a/atst/domain/workspaces.py b/atst/domain/workspaces.py index 41b88194..ca848425 100644 --- a/atst/domain/workspaces.py +++ b/atst/domain/workspaces.py @@ -69,6 +69,7 @@ class Members(object): "dod_id": "1257892124", "workspace_role": "Developer", "status": "Pending", + "num_projects": "4", }, { "first_name": "Mario", @@ -77,6 +78,7 @@ class Members(object): "dod_id": "4357892125", "workspace_role": "CCPO", "status": "Active", + "num_projects": "0", }, { "first_name": "Louise", @@ -85,6 +87,7 @@ class Members(object): "dod_id": "7257892125", "workspace_role": "Admin", "status": "Pending", + "num_projects": "43", }, ] diff --git a/templates/workspace_members.html.to b/templates/workspace_members.html.to index a38f653e..71c45bdb 100644 --- a/templates/workspace_members.html.to +++ b/templates/workspace_members.html.to @@ -7,13 +7,19 @@ - + + + + {% for m in members %} - + + + + {% end %}
NameName StatusWorkspace Role
{{ m['first_name'] }} {{ m['last_name'] }}{{ m['first_name'] }} {{ m['last_name'] }}{% if m['num_projects'] == '0' %} No Project Access {% end %}{{ m['status'] }}{{ m['workspace_role'] }}