Add fileds to members table
This commit is contained in:
parent
d861821c3e
commit
7467410aaf
@ -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",
|
||||
},
|
||||
]
|
||||
|
||||
|
@ -7,13 +7,19 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col" width="50%">Name</th>
|
||||
<th scope="col"> </th>
|
||||
<th scope="col">Status</th>
|
||||
<th scope="col">Workspace Role</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for m in members %}
|
||||
<tr>
|
||||
<td>{{ m['first_name'] }} {{ m['last_name'] }}</td>
|
||||
<td><a href="#">{{ m['first_name'] }} {{ m['last_name'] }}</a></td>
|
||||
<td>{% if m['num_projects'] == '0' %} <span class="label label--info">No Project Access</span> {% end %}</td>
|
||||
<td>{{ m['status'] }}</a></td>
|
||||
<td>{{ m['workspace_role'] }}</a></td>
|
||||
</tr>
|
||||
{% end %}
|
||||
</tbody>
|
||||
|
Loading…
x
Reference in New Issue
Block a user