File tree Expand file tree Collapse file tree 4 files changed +27
-7
lines changed
src/shared/components/challenge-detail/Specification Expand file tree Collapse file tree 4 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import styles from './styles.scss';
16
16
17
17
export default function SideBar ( {
18
18
challengesUrl,
19
+ legacyId,
19
20
documents,
20
21
eventDetail,
21
22
shareable,
@@ -338,6 +339,11 @@ export default function SideBar({
338
339
< ShareSocial />
339
340
</ div >
340
341
) }
342
+ { legacyId && (
343
+ < div styleName = "legacy-challenge-id" >
344
+ < h3 > ID: { legacyId } </ h3 >
345
+ </ div >
346
+ ) }
341
347
</ div >
342
348
</ div >
343
349
) ;
@@ -357,10 +363,12 @@ SideBar.defaultProps = {
357
363
metadata : { } ,
358
364
reviewScorecardId : '' ,
359
365
screeningScorecardId : '' ,
366
+ legacyId : '' ,
360
367
} ;
361
368
362
369
SideBar . propTypes = {
363
370
challengesUrl : PT . string . isRequired ,
371
+ legacyId : PT . string ,
364
372
eventDetail : PT . shape ( {
365
373
eventName : PT . string . isRequired ,
366
374
description : PT . string . isRequired ,
Original file line number Diff line number Diff line change 117
117
@include linkLikeParagraph ;
118
118
}
119
119
120
+ .legacy-challenge-id {
121
+ h3 {
122
+ color : $tc-gray-10 ;
123
+ font-style : italic ;
124
+ }
125
+
126
+ text-align : right ;
127
+ }
128
+
120
129
ol {
121
130
@include roboto-regular ;
122
131
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ export default function ChallengeDetailsView(props) {
43
43
privateDescription,
44
44
descriptionFormat,
45
45
legacy,
46
+ legacyId,
46
47
documents,
47
48
finalSubmissionGuidelines,
48
49
userDetails,
@@ -365,6 +366,7 @@ export default function ChallengeDetailsView(props) {
365
366
</ div >
366
367
< SideBar
367
368
challengesUrl = { challengesUrl }
369
+ legacyId = { legacyId }
368
370
forumLink = { forumLink }
369
371
documents = { documents }
370
372
hasRegistered = { hasRegistered }
@@ -421,6 +423,7 @@ ChallengeDetailsView.propTypes = {
421
423
screeningScorecardId : PT . string ,
422
424
forumId : PT . number ,
423
425
} ) ,
426
+ legacyId : PT . string ,
424
427
groups : PT . any ,
425
428
reviewType : PT . string ,
426
429
tags : PT . arrayOf ( PT . string ) ,
You can’t perform that action at this time.
0 commit comments