@model ProjectCollaboratorsViewModel @{ ViewData["Title"] = "Collaborators"; }

Project access

Collaborators

Back to project
@if (TempData["CollaborationMessage"] is string collaborationMessage) {
@collaborationMessage
} @if (TempData["CollaborationError"] is string collaborationError) {
@collaborationError
}

Current collaborators

@if (!Model.Collaborators.Any()) {

No collaborators have access to this project yet.

} else {
@foreach (var collaborator in Model.Collaborators) { }
Name Email Added
@collaborator.DisplayName @collaborator.Email @collaborator.InvitedDateUTC?.ToString("dd MMM yyyy")
}
@if (Model.PendingInvitations.Any()) {

Pending invitations

@foreach (var invitation in Model.PendingInvitations) { }
Email Invited
@invitation.EmailAddress @invitation.InvitedDateUTC.ToString("dd MMM yyyy")
}