Wire up selector for updating a workspace user's role

This commit is contained in:
Montana
2018-08-31 14:12:02 -04:00
parent 4b25cc19d9
commit ea1a3926ac
6 changed files with 177 additions and 196 deletions

View File

@@ -77,10 +77,10 @@
<tbody>
{% for m in workspace.members %}
<tr>
<td><a href="/member_edit" class="icon-link icon-link--large">{{ m['first_name'] }} {{ m['last_name'] }}</a></td>
<td><a href="{{ url_for('workspaces.update_member', workspace_id=workspace.id, member_id=m.user_id) }}" class="icon-link icon-link--large">{{ m.user_name }}</a></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>
<td>{{ m.status }}</a></td>
<td>{{ m.role }}</a></td>
</tr>
{% endfor %}
</tbody>