Skip to content

Commit

Permalink
Merge pull request #326 from fasrc/development
Browse files Browse the repository at this point in the history
update ProjectDetail user table
  • Loading branch information
claire-peters authored Aug 21, 2024
2 parents a712792 + 0e70d88 commit 98933e1
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 98933e1

Please sign in to comment.