New attribute "disclaimer" on downloadable files

This commit is contained in:
nemunaire 2022-11-23 16:55:49 +01:00
commit bd19d31577
6 changed files with 80 additions and 22 deletions

View file

@ -30,8 +30,9 @@ type ExerciceUnlockFile struct {
// ExerciceFile defines attributes on files.
type ExerciceFile struct {
Filename string `toml:",omitempty"`
Hidden bool `toml:",omitempty"`
Filename string `toml:",omitempty"`
Hidden bool `toml:",omitempty"`
Disclaimer string `toml:",omitempty"`
}
// ExerciceFlag holds informations about one flag.