Skip to content

Commit 2022d0a

Browse files
author
vikasrohit
authored
Merge pull request #894 from topcoder-platform/feature/forum-link
Forum Link & New Terms ID
2 parents f208585 + 74c009d commit 2022d0a

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@
2323
npm-debug.log*
2424
yarn-debug.log*
2525
yarn-error.log*
26+
27+
*.env

config/constants/production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
CONNECT_APP_URL: `https://connect.${DOMAIN}`,
2525
DIRECT_PROJECT_URL: `https://www.${DOMAIN}/direct`,
2626
ONLINE_REVIEW_URL: `https://software.${DOMAIN}`,
27-
DEFAULT_TERM_UUID: '9ef9dec4-dddb-48c9-9cce-659db68bc5ac', // Terms & Conditions of Use at TopCoder
27+
DEFAULT_TERM_UUID: '564a981e-6840-4a5c-894e-d5ad22e9cd6f', // Terms & Conditions of Use at TopCoder
2828
DEFAULT_NDA_UUID: '876e9802-eb2c-4779-a2a8-8dd8e7fb783d', // Appirio NDA v2.0
2929
SUBMITTER_ROLE_UUID: '732339e7-8e30-49d7-9198-cccf9451e221',
3030
DEV_TRACK_ID: '9b6fc876-f4d9-4ccb-9dfd-419247628825',

src/components/ChallengeEditor/ChallengeView/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,15 @@ const ChallengeView = ({
163163
readOnly
164164
/>
165165
)}
166+
<div>
167+
{ challenge.discussions && challenge.discussions.map(d => (
168+
<div key={d.id} className={cn(styles.row, styles.topRow)}>
169+
<div className={styles.col}>
170+
<span><span className={styles.fieldTitle}>Forum:</span> <a href={d.url} target='_blank' rel='noopener noreferrer'>{d.name}</a></span>
171+
</div>
172+
</div>
173+
))}
174+
</div>
166175
</div>
167176
<div className={styles.group}>
168177
<div className={styles.title}>Public specification <span>*</span></div>

0 commit comments

Comments
 (0)