Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/locales/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@
"volunteerType": "Freiwilligen-Typ",
"activities": "Aktivitäten",
"skills": "Fähigkeiten & Erfahrungen",
"comments": "Kommentare",
"cancel": "Abbrechen",
"saveChanges": "Änderungen speichern",
"saveSuccess": "Profil erfolgreich aktualisiert",
Expand Down
1 change: 1 addition & 0 deletions public/locales/en/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@
"volunteerType": "Volunteer type",
"activities": "Activities",
"skills": "Skills & experience",
"comments": "Comments",
"cancel": "Cancel",
"saveChanges": "Save changes",
"saveSuccess": "Profile updated successfully",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ type Props = {
volunteerTypeStatus: StatusValue | undefined;
activities: string[];
skills: string[];
comments: string | undefined;
t: (key: string) => string;
};

Expand All @@ -60,6 +61,7 @@ export function DisplayFields({
volunteerTypeStatus,
activities,
skills,
comments,
t,
}: Props) {
return (
Expand Down Expand Up @@ -120,6 +122,11 @@ export function DisplayFields({
)}
</FieldValue>
</FieldRow>

<FieldRow>
<FieldLabel>{t("dashboard.volunteerProfile.profileSection.comments")}</FieldLabel>
<FieldValue>{comments || <EmptyPlaceholder />}</FieldValue>
</FieldRow>
</>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ export const VolunteerProfile = forwardRef<VolunteerProfileRef, Props>(function
volunteerTypeStatus={volunteer.statusType}
activities={extractTitles(volunteer.activities)}
skills={extractTitles(volunteer.skills)}
comments={volunteer.infoAbout}
t={t}
/>
)}
Expand Down
Loading