Skip to content

Commit

Permalink
update ProjectDetail user table
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-peters committed Aug 21, 2024
1 parent bf86ede commit 0e70d88
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions coldfront/core/project/templates/project/project_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ <h3 class="d-inline" id="users"><i class="fas fa-users" aria-hidden="true"></i>
<td>{{ user.user.first_name }} {{ user.user.last_name }}</td>
<td>{{ user.user.email }}</td>
<td>{{ user.role.name }}</td>
{% if is_allowed_to_update_permissions %}
<td>
<td>
{% if is_allowed_to_update_permissions %}
<input type="checkbox"
id="email_notifications_for_user_id_{{user.id}}"
name="email_notifications_checkbox"
Expand All @@ -370,13 +370,13 @@ <h3 class="d-inline" id="users"><i class="fas fa-users" aria-hidden="true"></i>
value="{{ user.enable_notifications }}"
{% if user.enable_notifications %} checked {% endif %}
disabled>
</td>
{% endif %}
<td>
{% if is_allowed_to_update_permissions and user != project.pi %}
<a href="{% url 'project-user-detail' project.pk user.id %}"><i class="fas fa-user-edit" aria-hidden="true"></i><span class="sr-only">Edit</span></a>
{% endif %}
</td>
{% if is_allowed_to_update_permissions and user != project.pi %}
<td>
<a href="{% url 'project-user-detail' project.pk user.id %}"><i class="fas fa-user-edit" aria-hidden="true"></i><span class="sr-only">Edit</span></a>
</td>
{% endif %}
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 0e70d88

Please sign in to comment.