Merge branch 'develop' into comment-moderation
This commit is contained in:
commit
eecfbd3b3d
|
@ -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="You’ll be notified when you’ve been invited to join a proposal"
|
subtitle="You’ll be notified when you’ve been invited to join a proposal"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue