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 | b6dcd4c3f920bfd6de8920ad0e60e43134c843d9 (patch) | |
tree | 459111134d8fc563a67f1ce3956a664ffa086588 /ishtar_common/models.py | |
parent | 29b3601cb8596687668ad404aabebd7615258d45 (diff) | |
download | Ishtar-b6dcd4c3f920bfd6de8920ad0e60e43134c843d9.tar.bz2 Ishtar-b6dcd4c3f920bfd6de8920ad0e60e43134c843d9.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, |