mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Update project page
This commit is contained in:
+55
-25
@@ -541,7 +541,7 @@ const Project = () => {
|
|||||||
|
|
||||||
{project.state === 'Approved' ? (
|
{project.state === 'Approved' ? (
|
||||||
<Link href='#' color={role} onClick={handlePrint}>
|
<Link href='#' color={role} onClick={handlePrint}>
|
||||||
Download
|
Print
|
||||||
</Link>
|
</Link>
|
||||||
) : (
|
) : (
|
||||||
<Text variant='body' color={role || 'client'}>
|
<Text variant='body' color={role || 'client'}>
|
||||||
@@ -587,14 +587,24 @@ const Project = () => {
|
|||||||
{project.state === 'Declined' && 'Declined'}
|
{project.state === 'Declined' && 'Declined'}
|
||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : (
|
||||||
<Box
|
<>
|
||||||
cursor='pointer'
|
{project.state === 'Approved' ? (
|
||||||
onClick={() => setDesignModal(true)}
|
<Box
|
||||||
>
|
cursor='pointer'
|
||||||
<Text variant='body' color={role || 'client'}>
|
onClick={() => setDesignModal(true)}
|
||||||
Upload
|
>
|
||||||
</Text>
|
<Text variant='body' color={role || 'client'}>
|
||||||
</Box>
|
Upload
|
||||||
|
</Text>
|
||||||
|
</Box>
|
||||||
|
) : (
|
||||||
|
<Text variant='body' color={role || 'client'}>
|
||||||
|
{project.state === 'OnReview' && 'On Review'}
|
||||||
|
{project.state === 'Approved' && 'In Progress'}
|
||||||
|
{project.state === 'Declined' && 'Declined'}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
<Box
|
<Box
|
||||||
@@ -634,14 +644,24 @@ const Project = () => {
|
|||||||
{project.state === 'Declined' && 'Declined'}
|
{project.state === 'Declined' && 'Declined'}
|
||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : (
|
||||||
<Box
|
<>
|
||||||
cursor='pointer'
|
{project.state === 'Approved' ? (
|
||||||
onClick={() => setMvpModal(true)}
|
<Box
|
||||||
>
|
cursor='pointer'
|
||||||
<Text variant='body' color={role || 'client'}>
|
onClick={() => setDesignModal(true)}
|
||||||
Upload
|
>
|
||||||
</Text>
|
<Text variant='body' color={role || 'client'}>
|
||||||
</Box>
|
Upload
|
||||||
|
</Text>
|
||||||
|
</Box>
|
||||||
|
) : (
|
||||||
|
<Text variant='body' color={role || 'client'}>
|
||||||
|
{project.state === 'OnReview' && 'On Review'}
|
||||||
|
{project.state === 'Approved' && 'In Progress'}
|
||||||
|
{project.state === 'Declined' && 'Declined'}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
<Box
|
<Box
|
||||||
@@ -681,14 +701,24 @@ const Project = () => {
|
|||||||
{project.state === 'Declined' && 'Declined'}
|
{project.state === 'Declined' && 'Declined'}
|
||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : (
|
||||||
<Box
|
<>
|
||||||
cursor='pointer'
|
{project.state === 'Approved' ? (
|
||||||
onClick={() => setFullBuildModal(true)}
|
<Box
|
||||||
>
|
cursor='pointer'
|
||||||
<Text variant='body' color={role || 'client'}>
|
onClick={() => setDesignModal(true)}
|
||||||
Add
|
>
|
||||||
</Text>
|
<Text variant='body' color={role || 'client'}>
|
||||||
</Box>
|
Add
|
||||||
|
</Text>
|
||||||
|
</Box>
|
||||||
|
) : (
|
||||||
|
<Text variant='body' color={role || 'client'}>
|
||||||
|
{project.state === 'OnReview' && 'On Review'}
|
||||||
|
{project.state === 'Approved' && 'In Progress'}
|
||||||
|
{project.state === 'Declined' && 'Declined'}
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in New Issue
Block a user