From d284b2b6099020829f4860851772e49ccd5a8399 Mon Sep 17 00:00:00 2001 From: Zhang Ziqing Date: Tue, 8 Nov 2022 15:37:40 +0800 Subject: [PATCH] [offers][feat] add display of number of offers --- .../src/components/offers/profile/ProfileDetails.tsx | 8 +++++--- apps/portal/src/components/offers/table/OffersRow.tsx | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/portal/src/components/offers/profile/ProfileDetails.tsx b/apps/portal/src/components/offers/profile/ProfileDetails.tsx index 3be4ae3c..f46cfa47 100644 --- a/apps/portal/src/components/offers/profile/ProfileDetails.tsx +++ b/apps/portal/src/components/offers/profile/ProfileDetails.tsx @@ -49,8 +49,8 @@ type ProfileBackgroundProps = Readonly<{ function ProfileBackground({ background }: ProfileBackgroundProps) { if (!background?.experiences?.length && !background?.educations?.length) { return ( -
-

No background information available.

+
+

Creator has not filled in background information.

); } @@ -120,7 +120,9 @@ function ProfileAnalysis({ return (
{!analysis ? ( -

No analysis available.

+
+

This profile has no analysis yet.

+
) : ( View Profile +
+ This person also received {numberOfOtherOffers} other offer(s). +
);