settings: Can disable all submission button for maintenance
This commit is contained in:
parent
329bd246c7
commit
e9dd35f8ac
9 changed files with 41 additions and 10 deletions
|
@ -77,6 +77,8 @@ type Settings struct {
|
|||
DisplayMCQBadCount bool `json:"displayMCQBadCount,omitempty"`
|
||||
// EventKindness will ask browsers to delay notification interval.
|
||||
EventKindness bool `json:"eventKindness,omitempty"`
|
||||
// DisableSubmitButton replace button by this text (eg. scheduled updates, ...).
|
||||
DisableSubmitButton string `json:"disablesubmitbutton,omitempty"`
|
||||
}
|
||||
|
||||
// ExistsSettings checks if the settings file can by found at the given path.
|
||||
|
|
Reference in a new issue