Merge branch 'develop' into rfp-detail

This commit is contained in:
Daniel Ternyak 2019-02-18 23:11:24 -06:00 committed by GitHub
commit ceefe0c403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 4 deletions

View File

@ -143,7 +143,10 @@ class Profile extends React.Component<Props, State> {
<Tabs.TabPane tab={TabTitle('Created', proposals.length)} key="created"> <Tabs.TabPane tab={TabTitle('Created', proposals.length)} key="created">
<div> <div>
{noneCreated && ( {noneCreated && (
<Placeholder subtitle="Has not created any proposals yet" /> <Placeholder
title="No created proposals"
subtitle="There have not been any created proposals."
/>
)} )}
{proposals.map(p => ( {proposals.map(p => (
<ProfileProposal key={p.proposalId} proposal={p} /> <ProfileProposal key={p.proposalId} proposal={p} />
@ -153,7 +156,10 @@ class Profile extends React.Component<Props, State> {
<Tabs.TabPane tab={TabTitle('Funded', contributions.length)} key="funded"> <Tabs.TabPane tab={TabTitle('Funded', contributions.length)} key="funded">
<div> <div>
{noneFunded && ( {noneFunded && (
<Placeholder subtitle="Has not funded any proposals yet" /> <Placeholder
title="No proposals funded"
subtitle="There have not been any proposals funded."
/>
)} )}
{contributions.map(c => ( {contributions.map(c => (
<ProfileContribution <ProfileContribution
@ -168,7 +174,10 @@ class Profile extends React.Component<Props, State> {
<Tabs.TabPane tab={TabTitle('Comments', comments.length)} key="comments"> <Tabs.TabPane tab={TabTitle('Comments', comments.length)} key="comments">
<div> <div>
{noneCommented && ( {noneCommented && (
<Placeholder subtitle="Has not made any comments yet" /> <Placeholder
title="No comments"
subtitle="There have not been any comments made"
/>
)} )}
{comments.map(c => ( {comments.map(c => (
<ProfileComment key={c.id} userName={user.displayName} comment={c} /> <ProfileComment key={c.id} userName={user.displayName} comment={c} />
@ -184,7 +193,7 @@ class Profile extends React.Component<Props, State> {
<div> <div>
{noneInvites && ( {noneInvites && (
<Placeholder <Placeholder
title="No invites here!" title="No invitations"
subtitle="Youll be notified when youve been invited to join a proposal" subtitle="Youll be notified when youve been invited to join a proposal"
/> />
)} )}