From 603277713641d360c158e209b6d0f7bd6a9badb9 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 26 Sep 2018 14:52:55 +0200 Subject: [PATCH] Select Button and Text Implemented --- client/src/components/UserReferrals.js | 2 +- client/src/components/UserSearch.js | 29 ++++++++++++++++++-------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/client/src/components/UserReferrals.js b/client/src/components/UserReferrals.js index 80078007a..47d24cf8b 100644 --- a/client/src/components/UserReferrals.js +++ b/client/src/components/UserReferrals.js @@ -293,7 +293,7 @@ class UserReferrals extends Component { overall reputation within the project. - + diff --git a/client/src/components/UserSearch.js b/client/src/components/UserSearch.js index f64cc1fa1..4b0185edd 100644 --- a/client/src/components/UserSearch.js +++ b/client/src/components/UserSearch.js @@ -139,17 +139,28 @@ class UserSearch extends Component { selectButton(){ -if (this.props.selectButton === true) { + if (this.props.selectButton === true) { - return( - - ) + return( + + ) -} else { - return(
) + } else { + return(
) + } } + + selectText(){ + + if (this.props.selectButton === true) { + + return(After that press the 'Select' button on the desired user to continue.) + + } else { + return(
) + } } @@ -209,7 +220,7 @@ if (this.props.selectButton === true) {
- Use any of these fileds to search for users. + Use any of these fileds to search for users. {this.selectText()}