diff --git a/.circleci/config.yml b/.circleci/config.yml
index cada900bd7..db968e8c4c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -237,7 +237,7 @@ workflows:
filters:
branches:
only:
- - develop
+ - gig-details-fixes
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
diff --git a/src/shared/components/Gigs/GigDetails/index.jsx b/src/shared/components/Gigs/GigDetails/index.jsx
index 2471687f42..017418648f 100644
--- a/src/shared/components/Gigs/GigDetails/index.jsx
+++ b/src/shared/components/Gigs/GigDetails/index.jsx
@@ -43,6 +43,8 @@ export default function GigDetails(props) {
}
let skills = getCustomField(job.custom_fields, 'Technologies Required');
if (skills !== 'n/a') skills = skills.split(',').join(', ');
+ const hPerW = getCustomField(job.custom_fields, 'Hours per week');
+ const compens = job.min_annual_salary === job.max_annual_salary ? job.max_annual_salary : `${job.min_annual_salary} - ${job.max_annual_salary}`;
return (
@@ -70,7 +72,7 @@ export default function GigDetails(props) {
Compensation
- ${job.min_annual_salary} - ${job.max_annual_salary} / {getSalaryType(job.salary_type)}
+ ${compens} / {getSalaryType(job.salary_type)}
@@ -84,7 +86,7 @@ export default function GigDetails(props) {
Hours
- {getCustomField(job.custom_fields, 'Hours per week')} hours / week
+ {hPerW === 'n/a' ? hPerW : `${hPerW} hours / week`}
@@ -108,7 +110,10 @@ export default function GigDetails(props) {
* Topcoder does not provide visa sponsorship nor will we work with Staffing Agencies.
- ** Topcoder and Wipro employees are not eligible for Gig work opportunities. Do not apply and send questions to support@topcoder.com.
+ ** USA Visa Holders - Please consult an attorney before applying to any Topcoder Gig. Some visa statuses will or will not allow you to conduct freelance work with Topcoder.
+
+
+ *** Topcoder and Wipro employees are not eligible for Gig work opportunities. Do not apply and send questions to support@topcoder.com.
diff --git a/src/shared/utils/gigs.js b/src/shared/utils/gigs.js
index 63d42a1201..fa08f36579 100644
--- a/src/shared/utils/gigs.js
+++ b/src/shared/utils/gigs.js
@@ -12,6 +12,7 @@ export function getSalaryType(data) {
switch (data.id) {
case 2: return 'annual';
case 3: return 'week';
+ case 5: return 'hourly';
default: return 'n/a';
}
}