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
<p>Apologies, you are not allowed to apply to gigs if you are already placed on a gig.<br/><br/>You can however refer a friend to this gig and receive $500 if they get placed in that gig. To do that, you can enter their email on the right side of the Gigs Description page.<br/><br/>If you have any questions or feel this is an error, please email <ahref="mailto:gigwork@topcoder.com">gigwork@topcoder.com</a>.</p>
56
+
</React.Fragment>
57
+
<divstyleName="cta-buttons">
58
+
<Linkto={`${config.GIGS_PAGES_PATH}/${job.slug}`}styleName="primaryBtn">Back To Gig</Link>
<p>Looks like there is a problem on our end. Please try again.<br/>If this persists please contact <ahref="mailto:support@topcoder.com">support@topcoder.com</a>.</p>
62
-
<p>Please send us an email at <ahref="mailto:gigwork@topcoder.com">gigwork@topcoder.com</a> with the subject ‘Gig Error’<br/>and paste the URL for the gig you are attempting to apply for so that we know of your interest.</p>
<p>If you have any questions or feel this is an error, please email <ahref="mailto:gigwork@topcoder.com">gigwork@topcoder.com</a>.</p>
79
+
) : (
80
+
<React.Fragment>
81
+
<p>Looks like there is a problem on our end. Please try again.<br/>If this persists please contact <ahref="mailto:support@topcoder.com">support@topcoder.com</a>.</p>
82
+
<p>Please send us an email at <ahref="mailto:gigwork@topcoder.com">gigwork@topcoder.com</a> with the subject ‘Gig Error’<br/>and paste the URL for the gig you are attempting to apply for so that we know of your interest.</p>
83
+
</React.Fragment>
84
+
)
85
+
}
63
86
</React.Fragment>
64
87
) : (
65
88
<p>We will contact you via email if it seems like a fit!</p>
@@ -69,15 +92,19 @@ export default function GigApply(props) {
69
92
{
70
93
application.error ? (
71
94
<React.Fragment>
72
-
<a
73
-
href="#"
74
-
styleName="primaryBtn"
75
-
onClick={(e)=>{
76
-
e.preventDefault();
77
-
window.location.reload();
78
-
}}
79
-
>APPLY AGAIN
80
-
</a>
95
+
{
96
+
!application.errorObj.notAllowed ? (
97
+
<a
98
+
href="#"
99
+
styleName="primaryBtn"
100
+
onClick={(e)=>{
101
+
e.preventDefault();
102
+
window.location.reload();
103
+
}}
104
+
>APPLY AGAIN
105
+
</a>
106
+
) : null
107
+
}
81
108
<Linkto={`${config.GIGS_PAGES_PATH}`}>VIEW OTHER GIGS</Link>
82
109
</React.Fragment>
83
110
) : (
@@ -97,18 +124,18 @@ export default function GigApply(props) {
0 commit comments