Skip to content

Commit 9c17b8f

Browse files
authored
Merge pull request #1105 from yoution/issue-1062
fix: issue #1062
2 parents 627a5b1 + de580c4 commit 9c17b8f

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/components/ChallengeEditor/ChallengeEditor.module.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,18 @@
212212
}
213213
}
214214
}
215+
216+
.templateLink {
217+
text-align: center;
218+
font-size: 14px;
219+
line-height: 29px;
220+
font-weight: 400;
221+
222+
a {
223+
font-weight: 400;
224+
font-size: 12px;
225+
}
226+
}
215227
}
216228
.group:last-of-type {
217229
margin-bottom: 0;

src/components/ChallengeEditor/TextEditor-Field/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ class TextEditorField extends Component {
6060
</div>)}
6161
{shouldShowPrivateDescription && showShowPrivateDescriptionField && (<div className={styles.title}>
6262
<span>Private specification</span>
63+
{!readOnly && (<div>
64+
<i>Access specification templates <a href='https://github.com/topcoder-platform-templates/specification-templates'>here</a></i>
65+
</div>)}
6366
<i>
6467
This text will only be visible to Topcoder members that have
6568
registered for this challenge

src/components/ChallengeEditor/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,9 @@ class ChallengeEditor extends Component {
14881488
</div>
14891489
<div className={styles.group}>
14901490
<div className={styles.title}>Public specification <span>*</span></div>
1491+
<div className={styles.templateLink}>
1492+
<i>Access specification templates <a href='https://github.com/topcoder-platform-templates/specification-templates'>here</a></i>
1493+
</div>
14911494
<TextEditorField
14921495
challengeTags={metadata.challengeTags}
14931496
challenge={challenge}

0 commit comments

Comments
 (0)