From 25449ae510ffe014435816a731e191d3165be1b1 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Thu, 5 Nov 2015 13:06:27 -0800 Subject: [PATCH] Fix some bugs with howToApply obscuring --- common/app/routes/Jobs/components/Show.jsx | 12 ++++++++---- common/app/routes/Jobs/components/ShowJob.jsx | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/common/app/routes/Jobs/components/Show.jsx b/common/app/routes/Jobs/components/Show.jsx index aa488688298..b15a6b154d5 100644 --- a/common/app/routes/Jobs/components/Show.jsx +++ b/common/app/routes/Jobs/components/Show.jsx @@ -30,12 +30,12 @@ function generateMessage( ) { if (!isSignedIn) { - return 'Must be singed in to apply'; + return 'Must be signed in to apply'; } if (isFrontEndCertReq && !isFrontEndCert) { - return 'Job requires applicant be Front End Certified'; + return 'You must earn your Full Stack Certification to apply'; } - return 'Job requires applicant be Full Stack Certified'; + return 'You must earn your Front End Certification to apply'; } export default contain( @@ -43,8 +43,12 @@ export default contain( stores: ['appStore', 'jobsStore'], fetchWaitFor: 'jobsStore', fetchAction: 'jobActions.getJob', - combineLatest({ isFrontEndCert, isFullStackCert }, { currentJob }) { + combineLatest( + { username, isFrontEndCert, isFullStackCert }, + { currentJob } + ) { return { + username, job: currentJob, isFrontEndCert, isFullStackCert diff --git a/common/app/routes/Jobs/components/ShowJob.jsx b/common/app/routes/Jobs/components/ShowJob.jsx index f24f0585392..ca1fd6565a0 100644 --- a/common/app/routes/Jobs/components/ShowJob.jsx +++ b/common/app/routes/Jobs/components/ShowJob.jsx @@ -47,7 +47,7 @@ export default React.createClass({ -

{ message }

+

{ message }

);