feat(frontend): list the company invitations in the employer cabinet
This commit is contained in:
1 parent
84454116f2
commit
d8abaae85b
23 files changed
+1349
-222
No files matched your search
@@ -48,6 +48,24 @@ export const paths = {
|
||||
`/employer/candidates?organization_id=${encodeURIComponent(organizationId)}&need_id=${encodeURIComponent(needId)}`,
|
||||
invitations: "/employer/invitations",
|
||||
invitationNew: "/employer/invitations/new",
|
||||
/**
|
||||
* Opens one invitation of the organization in the invitation screen: a
|
||||
* draft continues in the form, a sent one shows its state, deadline, and
|
||||
* the contacts after an acceptance. The handle is the organization-scoped
|
||||
* alias, never a candidate identifier.
|
||||
*/
|
||||
invitation: (input: {
|
||||
organizationId: string;
|
||||
invitationId: string;
|
||||
candidateHandle: string;
|
||||
}) => {
|
||||
const query = new URLSearchParams({
|
||||
organization_id: input.organizationId,
|
||||
candidate_handle: input.candidateHandle,
|
||||
invitation_id: input.invitationId,
|
||||
});
|
||||
return `/employer/invitations/new?${query.toString()}`;
|
||||
},
|
||||
/**
|
||||
* Opens the invitation form for one search result. The handle is the
|
||||
* organization-scoped alias from the search, never a candidate identifier.
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
.label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 2.5rem;
|
||||
min-height: 2.75rem;
|
||||
padding: var(--space-2) var(--space-4);
|
||||
border-radius: var(--radius-pill);
|
||||
color: var(--color-text-secondary);
|
||||
|
||||
Reference in new issue
Block a user