Skip to content

Commit de580c4

Browse files
committed
fix: issue #1062
1 parent 6754b03 commit de580c4

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
@@ -211,6 +211,18 @@
211211
}
212212
}
213213
}
214+
215+
.templateLink {
216+
text-align: center;
217+
font-size: 14px;
218+
line-height: 29px;
219+
font-weight: 400;
220+
221+
a {
222+
font-weight: 400;
223+
font-size: 12px;
224+
}
225+
}
214226
}
215227
.group:last-of-type {
216228
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
@@ -1481,6 +1481,9 @@ class ChallengeEditor extends Component {
14811481
</div>
14821482
<div className={styles.group}>
14831483
<div className={styles.title}>Public specification <span>*</span></div>
1484+
<div className={styles.templateLink}>
1485+
<i>Access specification templates <a href='https://github.com/topcoder-platform-templates/specification-templates'>here</a></i>
1486+
</div>
14841487
<TextEditorField
14851488
challengeTags={metadata.challengeTags}
14861489
challenge={challenge}

0 commit comments

Comments
 (0)