Skip to content

Commit

Permalink
Rolling admission message
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikskog authored Sep 19, 2024
1 parent 2c59ce3 commit f90efd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/career/components/JobDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,12 @@ const JobDetails: FC<IProps> = ({ opportunity }) => (
<h3>Nøkkelinformasjon</h3>
<p>Type: {opportunity.employment.name}</p>
<p>Sted: {formatLocations(opportunity.location.map((loc) => loc.name))}</p>
<p>Frist: {opportunity.deadline_asap ? 'Snarest' : formatDeadline(opportunity.deadline)}</p>
{opportunity.deadline && <p>Frist: {formatDeadline(opportunity.deadline)}</p>}
{opportunity.rolling_admission && (
<p>
<strong>Søknader vurderes fortløpende</strong>
</p>
)}
</div>
<ApplyButton
application_link={opportunity.application_link}
Expand Down
2 changes: 1 addition & 1 deletion src/career/models/Career.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface ICareerOpportunity {
end: string;
featured: boolean;
deadline: string;
deadline_asap: boolean;
rolling_admission: boolean;
employment: IEmployment;
location: ILocation[];
application_link: string;
Expand Down

0 comments on commit f90efd9

Please sign in to comment.