-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dropdown to recruitment header #1629
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Se kommentar. Ellers good
const recruitmentLinks = showActiveRecruitments && ( | ||
<> | ||
{activeRecruitments?.map((recruitment) => ( | ||
<Link | ||
key={recruitment.id} | ||
url={reverse({ | ||
pattern: ROUTES.frontend.organization_recruitment, | ||
urlParams: { recruitmentId: recruitment?.id }, | ||
})} | ||
className={styles.navbar_dropdown_link} | ||
onAfterClick={() => setExpandedDropdown('')} | ||
> | ||
{dbT(recruitment, 'name')} {recruitment.organization.toString()} | ||
</Link> | ||
))} | ||
</> | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lag en egen PR på dropdown links for opptak. Det er ikke sikkert vi skal vise flere pågående opptak på samme side. Sannsynligvis skal vi ha et "hovedopptak" som vises når man går til /recruitment. Andre opptak skal sannsynligvis kun promoteres fra UKA/ISFiT sin nettside
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
Tror ikke vi burde fremheve alle opptak uten å bli enige med UKA, ISFiT og Samf om hvordan det skal gjøres
Endrer denne til draft fordi det ikke er sikkert det skal være mulig å navigere til ISFiT/UKA opptak gjennom UI på sm.no |
Header would still show active recruitment even with no active recruitment