Skip to content

Commit 0f5938e

Browse files
authored
Merge pull request #3137 from rashmi73/issue_3104
issue #3104 fix
2 parents 5c9800f + aa5d877 commit 0f5938e

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

src/projects/detail/components/ProjectPlanEmpty/ProjectPlanEmpty.jsx

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,22 @@ import React from 'react'
55

66
import './ProjectPlanEmpty.scss'
77

8-
const ProjectPlanEmpty = () => (
9-
<div styleName="container">
10-
<h2>Welcome to your project plan</h2>
11-
<p>Thank you for submitting your project requirements. In the next 24h someone from our team will reach out to you to discuss the project details with you so we can build the detailed project plan. Until then stand back and relax, we're working hard on your information.</p>
12-
<p>If you feel like you have more things to send over, or want to reach out to us, please drop us a line at connect@topcoder.com. Thanks!</p>
13-
</div>
14-
)
8+
const ProjectPlanEmpty = ({ isManageUser }) => {
9+
10+
return isManageUser ? (
11+
<div styleName="container">
12+
<h2>Build Your Project Plan</h2>
13+
<p>Build your project plan in Connect to reflect delivery progress to the customer. Begin by clicking the "Add Phase" button, select the template that best matches your need, and modify the phase title and milestone dates prior to publishing to the customer.</p>
14+
<p>Important Note: To move the project into 'Active' status, you must set at least one phase in Connect's Project Plan to be in 'Planned' status, which signifies to customers that delivery planning and execution has begun.</p>
15+
<p>If you feel like you have more things to send over, or want to reach out to us, please drop us a line at connect@topcoder.com. Thanks!</p>
16+
</div>
17+
) : (
18+
<div styleName="container">
19+
<h2>Welcome to your project plan</h2>
20+
<p>Thank you for submitting your project requirements. In the next 24h someone from our team will reach out to you to discuss the project details with you so we can build the detailed project plan. Until then stand back and relax, we're working hard on your information.</p>
21+
<p>If you feel like you have more things to send over, or want to reach out to us, please drop us a line at connect@topcoder.com. Thanks!</p>
22+
</div>
23+
)
24+
}
1525

1626
export default ProjectPlanEmpty

src/projects/detail/containers/ProjectPlanContainer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class ProjectPlanContainer extends React.Component {
162162
}}
163163
/>
164164
) : (
165-
<ProjectPlanEmpty />
165+
<ProjectPlanEmpty isManageUser={isManageUser} />
166166
)}
167167
{isProjectLive && checkPermission(PERMISSIONS.EDIT_PROJECT_PLAN, project, phases) && !isLoadingPhases && (<div styleName="add-button-container">
168168
<Link to={`/projects/${project.id}/add-phase`} className="tc-btn tc-btn-primary tc-btn-sm action-btn">Add New Phase</Link>

0 commit comments

Comments
 (0)