settings: Add challenge subtitle
This commit is contained in:
parent
48ee5321a8
commit
c525acff20
@ -120,6 +120,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="challengeSubtitle" class="col-sm-3 col-form-label col-form-label-sm">Sous-titre du challenge</label>
|
||||
<div class="col-sm-9">
|
||||
<input type="text" class="form-control form-control-sm" id="challengeSubtitle" ng-model="challenge.subtitle">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="challengeAuthors" class="col-sm-3 col-form-label col-form-label-sm">Auteur du challenge</label>
|
||||
<div class="col-sm-9">
|
||||
|
@ -12,6 +12,8 @@ const ChallengeFile = "challenge.json"
|
||||
type ChallengeInfo struct {
|
||||
// Title is the displayed name of the challenge.
|
||||
Title string `json:"title"`
|
||||
// SubTitle is appended to the title.
|
||||
SubTitle string `json:"subtitle"`
|
||||
// Authors is the group name of people making the challenge.
|
||||
Authors string `json:"authors"`
|
||||
// VideoLink is the link to explaination videos when the challenge is over.
|
||||
|
Loading…
Reference in New Issue
Block a user