Admin
++ {actionMsg === 'revoked' ? 'Invite revoked.' : + actionMsg === 'updated' ? 'Role updated.' : + actionMsg === 'deactivated' ? 'User deactivated.' : ''} +
+ )} + + + {tab === 'invitations' && ( +{formError}
+ )} + + {newInviteToken && ( +Copy this link and send it personally. It expires in 14 days and is single-use.
+{newInviteToken}
+
+ No outstanding invites.
+ ) : ( +| Name | +Organisation | +Role | +Expires | +Action | +|
|---|---|---|---|---|---|
| {invite.name} | +{invite.email} | +{invite.organisation} | +{invite.role} | +{fmtDate(invite.expires_at)} | ++ + | +
| Name | +Organisation | +Role | +Last seen | +Actions | +|
|---|---|---|---|---|---|
| {u.name} | +{u.email} | +{u.organisation} | ++ {u.id !== user.id ? ( + + ) : ( + {u.role} + )} + | ++ {u.last_seen_at ? fmtDate(u.last_seen_at) : 'Never'} + | ++ {u.id !== user.id && ( + + )} + | +