diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-12-09 18:56:27 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-12-09 18:56:27 +0100 |
commit | d5c54a21a23f0bb1bb20390eb4a7909661541cbc (patch) | |
tree | 459111134d8fc563a67f1ce3956a664ffa086588 /ishtar_common/models.py | |
parent | 48d3040720f28e8a8ee368568689ab9dabb67743 (diff) | |
download | Ishtar-d5c54a21a23f0bb1bb20390eb4a7909661541cbc.tar.bz2 Ishtar-d5c54a21a23f0bb1bb20390eb4a7909661541cbc.zip |
Can configure a warning banner and a warning message
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 946e88703..03eda4781 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2724,6 +2724,8 @@ class IshtarSiteProfile(models.Model, Cached): experimental_feature = models.BooleanField( _("Activate experimental feature"), default=False) description = models.TextField(_("Description"), null=True, blank=True) + warning_name = models.TextField(_("Warning name"), blank=True) + warning_message = models.TextField(_("Warning message"), blank=True) config = models.CharField( _("Alternate configuration"), max_length=200, choices=ALTERNATE_CONFIGS_CHOICES, |