Workspace now response to .members

This commit is contained in:
richard-dds
2018-08-22 11:49:05 -04:00
parent 379461e6fb
commit 9875a11860
4 changed files with 39 additions and 57 deletions

View File

@@ -4,7 +4,7 @@
{% block workspace_content %}
{% if not members %}
{% if not workspace.members %}
{{ EmptyState(
'There are currently no members in this Workspace.',
@@ -58,7 +58,7 @@
</tr>
</thead>
<tbody>
{% for m in members %}
{% for m in workspace.members %}
<tr>
<td><a href="/workspaces/123456/members/789/edit" class="icon-link icon-link--large">{{ m['first_name'] }} {{ m['last_name'] }}</a></td>
<td class='table-cell--shrink'>{% if m['num_projects'] == '0' %} <span class="label label--info">No Project Access</span> {% endif %}</td>