Skip to content

Commit

Permalink
update "ikke satt" message
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrir committed Aug 15, 2024
1 parent d8913f1 commit 0a74f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions lib/sendInterviewTimes/formatInterviewEmail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export const formatApplicantInterviewEmail = (
)}<br>`;
}
if (committee.interviewTime.start === "Ikke satt") {
emailBody += `<b>Start:</b> Ikke satt<br>`;
emailBody += `<b>Slutt:</b> Ikke satt<br>`;
emailBody += `<b>Tid:</b> Ikke satt. Komitéen vil ta kontakt med deg for å avtale tidspunkt.<br>`;
}

emailBody += `<b>Rom:</b> ${committee.interviewTime.room}</li><br>`;
Expand Down Expand Up @@ -70,8 +69,7 @@ export const formatCommitteeInterviewEmail = (
}

if (applicant.interviewTime.start === "Ikke satt") {
emailBody += `<b>Start:</b> Ikke satt<br>`;
emailBody += `<b>Slutt:</b> Ikke satt<br>`;
emailBody += `<b>Tid:</b> Ikke satt. Ta kontakt med søker for å avtale tidspunkt.`;
}
emailBody += `<b>Rom:</b> ${applicant.interviewTime.room}</li><br>`;
});
Expand Down
2 changes: 1 addition & 1 deletion lib/sendInterviewTimes/formatInterviewSMS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const formatInterviewSMS = (applicant: emailApplicantInterviewType) => {
}

if (committee.interviewTime.start === "Ikke satt") {
phoneBody += `Tid: Ikke satt \n`;
phoneBody += `Tid: Ikke satt. Komitéen vil ta kontakt for å avtale tidspunkt. \n`;
}

phoneBody += `Rom: ${committee.interviewTime.room} \n \n`;
Expand Down

0 comments on commit 0a74f08

Please sign in to comment.