From 8cac32be3dc9fb4d82db402e66a4bd32f99e1020 Mon Sep 17 00:00:00 2001 From: ritvje Date: Mon, 18 Jul 2016 15:50:09 +0300 Subject: [PATCH] Add labels to nickname and country on ParticipantDetailsPage --- .../ParticipantDetailsPage/ParticipantDetailsPage.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx b/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx index 6a21c3b3..d68b31b4 100644 --- a/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx +++ b/src/client/components/ParticipantDetailsPage/ParticipantDetailsPage.jsx @@ -91,7 +91,7 @@ export function getParticipantDetailsPage(participantStore, participantActions) } = this.state.participantDetails; const participantName = `${firstName} ${lastName}`; - const participantStatus = internationalGuest ? `KV-osallistuja, ${country}` : ( nonScout ? 'EVP' : `Partiolainen (jäsennumero: ${memberNumber})` ); + const participantStatus = internationalGuest ? 'KV-osallistuja' : ( nonScout ? 'EVP' : `Partiolainen (jäsennumero: ${memberNumber})` ); const formattedBilledDate = billedDate ? moment(billedDate).format('D.M.YYYY') : '–'; const formattedPaidDate = paidDate ? moment(paidDate).format('D.M.YYYY') : '–'; @@ -117,7 +117,6 @@ export function getParticipantDetailsPage(participantStore, participantActions)

{ participantName } - { nickname || '' } (synt. { moment(dateOfBirth).format('D.M.YYYY') })

{ participantStatus }

@@ -150,12 +149,16 @@ export function getParticipantDetailsPage(participantStore, participantActions)
+
Partionimi
+
{ nickname || '' }
Ikäkausi
{ ageGroup }
{ swimmingSkill ?
Uimataito
: '' } { swimmingSkill ?
{ swimmingSkill }
: '' }
Lippukunta
-
{ `${localGroup}, ${country}` }
+
{ localGroup }
+
Maa
+
{ country }
Leirilippukunta
{ campGroup }
Kylä