settings: Can display a global message on all pages
This commit is contained in:
parent
e9dd35f8ac
commit
750db69b06
3 changed files with 34 additions and 0 deletions
|
@ -79,6 +79,10 @@ type Settings struct {
|
|||
EventKindness bool `json:"eventKindness,omitempty"`
|
||||
// DisableSubmitButton replace button by this text (eg. scheduled updates, ...).
|
||||
DisableSubmitButton string `json:"disablesubmitbutton,omitempty"`
|
||||
// GlobalTopMessage display a message on top of each pages.
|
||||
GlobalTopMessage string `json:"globaltopmessage,omitempty"`
|
||||
// GlobalTopMessageVariant control the variant/color of the previous message.
|
||||
GlobalTopMessageVariant string `json:"globaltopmessagevariant,omitempty"`
|
||||
}
|
||||
|
||||
// ExistsSettings checks if the settings file can by found at the given path.
|
||||
|
|
Reference in a new issue