You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/projects/detail/components/timeline/milestones/MilestoneTypeCheckpointReview/MilestoneTypeCheckpointReview.jsx
Copy file name to clipboardExpand all lines: src/projects/detail/components/timeline/milestones/MilestoneTypeDeliverableReview/MilestoneTypeDeliverableReview.jsx
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ import { withMilestoneExtensionRequest } from '../../MilestoneExtensionRequest'
@@ -23,19 +23,19 @@ import { PERMISSIONS } from '../../../../../../config/permissions'
23
23
Acceptance dialogue messages based on the milestone type
24
24
*/
25
25
constacceptDialogue={
26
-
'delivery-dev': {
26
+
[MILESTONE_TYPE.DELIVERY_DEV]: {
27
27
title: 'Code acceptance',
28
28
text: 'Do you need any refinement on winner’s code before we deliver you the final source files? Some refinement or final fixes outside the project scope may cost you additional payment',
29
29
button: 'Accept code',
30
30
},
31
-
'delivery-design': {
31
+
[MILESTONE_TYPE.DELIVERY_DESIGN]: {
32
32
title: 'Design acceptance',
33
33
text: 'Do you need any refinement on winner’s design before we deliver you the final source files? Some refinement or final fixes outside the project scope may cost you additional payment',
34
34
button: 'Accept design',
35
35
},
36
36
// TODO this is a temporary fallback for already created milestones in DEV backend
37
37
// this is just to keep already created milestones working and can be removed when we don't touch such projects anymore
38
-
delivery: {
38
+
[MILESTONE_TYPE.DELIVERY]: {
39
39
title: 'Work acceptance',
40
40
text: 'Do you need any refinement on winner’s work before we deliver you the final source files? Some refinement or final fixes outside the project scope may cost you additional payment',
41
41
button: 'Accept work',
@@ -194,7 +194,7 @@ class MilestoneTypeDelivery extends React.Component {
Copy file name to clipboardExpand all lines: src/projects/detail/components/timeline/milestones/MilestoneTypeFinalDesigns/MilestoneTypeFinalDesigns.jsx
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ import {
19
19
MILESTONE_STATUS,
20
20
MIN_WINNER_DESIGNS,
21
21
DEFAULT_ADDITIONAL_DESIGN_COST,
22
+
MILESTONE_TYPE
22
23
}from'../../../../../../config/constants'
23
24
24
25
import'./MilestoneTypeFinalDesigns.scss'
@@ -36,7 +37,7 @@ class MilestoneTypeFinalDesigns extends React.Component {
0 commit comments