Add fileds to members table
This commit is contained in:
parent
d861821c3e
commit
7467410aaf
@ -69,6 +69,7 @@ class Members(object):
|
|||||||
"dod_id": "1257892124",
|
"dod_id": "1257892124",
|
||||||
"workspace_role": "Developer",
|
"workspace_role": "Developer",
|
||||||
"status": "Pending",
|
"status": "Pending",
|
||||||
|
"num_projects": "4",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"first_name": "Mario",
|
"first_name": "Mario",
|
||||||
@ -77,6 +78,7 @@ class Members(object):
|
|||||||
"dod_id": "4357892125",
|
"dod_id": "4357892125",
|
||||||
"workspace_role": "CCPO",
|
"workspace_role": "CCPO",
|
||||||
"status": "Active",
|
"status": "Active",
|
||||||
|
"num_projects": "0",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"first_name": "Louise",
|
"first_name": "Louise",
|
||||||
@ -85,6 +87,7 @@ class Members(object):
|
|||||||
"dod_id": "7257892125",
|
"dod_id": "7257892125",
|
||||||
"workspace_role": "Admin",
|
"workspace_role": "Admin",
|
||||||
"status": "Pending",
|
"status": "Pending",
|
||||||
|
"num_projects": "43",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -7,13 +7,19 @@
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<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>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for m in members %}
|
{% for m in members %}
|
||||||
<tr>
|
<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>
|
</tr>
|
||||||
{% end %}
|
{% end %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user