fix workspace_members template

This commit is contained in:
dandds 2018-08-06 10:42:50 -04:00
parent ad1e1e771b
commit 4f7870aaff

View File

@ -1,4 +1,4 @@
{% extends "base_workspace.html.to" %}
{% extends "base_workspace.html" %}
{% from "components/empty_state.html" import EmptyState %}
@ -61,17 +61,17 @@
{% for m in 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> {% end %}</td>
<td class='table-cell--shrink'>{% if m['num_projects'] == '0' %} <span class="label label--info">No Project Access</span> {% endif %}</td>
<td>{{ m['status'] }}</a></td>
<td>{{ m['workspace_role'] }}</a></td>
</tr>
{% end %}
{% endfor %}
</tbody>
</table>
</div>
{% end %}
{% endif %}
{% end %}
{% endblock %}