Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@ import React from 'react'

import './ProjectPlanEmpty.scss'

const ProjectPlanEmpty = () => (
<div styleName="container">
<h2>Welcome to your project plan</h2>
<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>
<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>
</div>
)
const ProjectPlanEmpty = ({ isManageUser }) => {

return isManageUser ? (
<div styleName="container">
<h2>Build Your Project Plan</h2>
<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>
<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>
<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>
</div>
) : (
<div styleName="container">
<h2>Welcome to your project plan</h2>
<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>
<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>
</div>
)
}

export default ProjectPlanEmpty
2 changes: 1 addition & 1 deletion src/projects/detail/containers/ProjectPlanContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class ProjectPlanContainer extends React.Component {
}}
/>
) : (
<ProjectPlanEmpty />
<ProjectPlanEmpty isManageUser={isManageUser} />
)}
{isProjectLive && checkPermission(PERMISSIONS.EDIT_PROJECT_PLAN, project, phases) && !isLoadingPhases && (<div styleName="add-button-container">
<Link to={`/projects/${project.id}/add-phase`} className="tc-btn tc-btn-primary tc-btn-sm action-btn">Add New Phase</Link>
Expand Down