Skip to content

Commit f90efd9

Browse files
authored
Rolling admission message
1 parent 2c59ce3 commit f90efd9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/career/components/JobDetails.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,12 @@ const JobDetails: FC<IProps> = ({ opportunity }) => (
7171
<h3>Nøkkelinformasjon</h3>
7272
<p>Type: {opportunity.employment.name}</p>
7373
<p>Sted: {formatLocations(opportunity.location.map((loc) => loc.name))}</p>
74-
<p>Frist: {opportunity.deadline_asap ? 'Snarest' : formatDeadline(opportunity.deadline)}</p>
74+
{opportunity.deadline && <p>Frist: {formatDeadline(opportunity.deadline)}</p>}
75+
{opportunity.rolling_admission && (
76+
<p>
77+
<strong>Søknader vurderes fortløpende</strong>
78+
</p>
79+
)}
7580
</div>
7681
<ApplyButton
7782
application_link={opportunity.application_link}

src/career/models/Career.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface ICareerOpportunity {
1010
end: string;
1111
featured: boolean;
1212
deadline: string;
13-
deadline_asap: boolean;
13+
rolling_admission: boolean;
1414
employment: IEmployment;
1515
location: ILocation[];
1616
application_link: string;

0 commit comments

Comments
 (0)