diff --git a/frontend/packages/vkt/public/i18n/fi-FI/examiner.json b/frontend/packages/vkt/public/i18n/fi-FI/examiner.json index 90027fad2..a96637357 100644 --- a/frontend/packages/vkt/public/i18n/fi-FI/examiner.json +++ b/frontend/packages/vkt/public/i18n/fi-FI/examiner.json @@ -76,7 +76,7 @@ "linkSentAt": "Lähetetty", "linkExpiresAt": "Erääntyy", "sendAuthLink": "Lähetä ilmoittautumislinkki", - "noAuthPossible": "Ei mahdollisuutta tunnistautua?", + "noAuthPossible": "Ei mahdollisuutta tunnistautua", "paymentLinkModal": { "title": "Suora maksulinkki", "description": "Jos asiakkaalla ei ole mahdollisuutta käyttää vahvaa tunnistautumista, lähetä tämä suora maksulinkki." diff --git a/frontend/packages/vkt/src/components/clerkEnrollment/appointment/ClerkEnrollmentAppointmentDetailsFields.tsx b/frontend/packages/vkt/src/components/clerkEnrollment/appointment/ClerkEnrollmentAppointmentDetailsFields.tsx index 035461790..da644731e 100644 --- a/frontend/packages/vkt/src/components/clerkEnrollment/appointment/ClerkEnrollmentAppointmentDetailsFields.tsx +++ b/frontend/packages/vkt/src/components/clerkEnrollment/appointment/ClerkEnrollmentAppointmentDetailsFields.tsx @@ -3,7 +3,6 @@ import { Divider, FormControlLabel, FormHelperTextProps, - Link, } from '@mui/material'; import { ChangeEvent, useEffect, useState } from 'react'; import { @@ -327,7 +326,6 @@ const ExamAndEnrollmentDetailsSection = ({ editDisabled, openGradeModal, openEnrollmentHistoryModal, - getCommonTextFieldProps, }: { enrollment: ClerkEnrollmentAppointment; isViewMode: boolean; @@ -340,10 +338,6 @@ const ExamAndEnrollmentDetailsSection = ({ editDisabled: boolean; openGradeModal: () => void; openEnrollmentHistoryModal: () => void; - getCommonTextFieldProps: ( - field: ClerkEnrollmentTextFieldEnum, - disabled: boolean, - ) => ClerkEnrollmentTextFieldProps; }) => { const { grades } = useAppSelector(clerkEnrollmentAppointmentSelector); const { t } = useExaminerTranslation({ @@ -398,16 +392,6 @@ const ExamAndEnrollmentDetailsSection = ({ {t('appointment.showHistory')} -
-

{t('header.previousEnrollment')}

-
- ); }; @@ -552,16 +536,17 @@ const EnrollmentStatus = ({ {t('appointment.sendAuthLink')} - - + { setPaymentLinkModalOpen(true); }} + color={Color.Secondary} + variant={Variant.Text} > {t('appointment.noAuthPossible')} - - + + )} @@ -768,7 +753,6 @@ export const ClerkEnrollmentAppointmentDetailsFields = ({ editDisabled={editDisabled} openGradeModal={() => setGradeModalOpen(true)} openEnrollmentHistoryModal={() => setEnrollmentHistoryModalOpen(true)} - getCommonTextFieldProps={getCommonTextFieldProps} />