Skip to content

Commit 9371add

Browse files
Merge pull request #5256 from topcoder-platform/feature/private-spec
Implemented private spec
2 parents 8edd563 + 54e5bbe commit 9371add

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ workflows:
244244
filters:
245245
branches:
246246
only:
247-
- seo-fix
247+
- feature/private-spec
248248
# This is beta env for production soft releases
249249
- "build-prod-beta":
250250
context : org-global
@@ -260,7 +260,7 @@ workflows:
260260
branches:
261261
only:
262262
- develop
263-
- listing-search
263+
- feature/private-spec
264264
# Production builds are exectuted
265265
# when PR is merged to the master
266266
# Don't change anything in this configuration

src/shared/components/challenge-detail/Specification/index.jsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,19 @@ export default function ChallengeDetailsView(props) {
198198
/>
199199
)
200200
}
201+
{
202+
privateDescription && (
203+
<React.Fragment>
204+
<h2>
205+
Registered User Additional Information
206+
</h2>
207+
<SpecificationComponent
208+
bodyText={privateDescription}
209+
format={descriptionFormat}
210+
/>
211+
</React.Fragment>
212+
)
213+
}
201214
</article>
202215
)
203216
}
@@ -227,6 +240,19 @@ export default function ChallengeDetailsView(props) {
227240
/>
228241
)
229242
}
243+
{
244+
privateDescription && (
245+
<React.Fragment>
246+
<h2>
247+
Registered User Additional Information
248+
</h2>
249+
<SpecificationComponent
250+
bodyText={privateDescription}
251+
format={descriptionFormat}
252+
/>
253+
</React.Fragment>
254+
)
255+
}
230256
<p />
231257
<p styleName="note">
232258
Please read the challenge specification carefully and

0 commit comments

Comments
 (0)