summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
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
commitb6dcd4c3f920bfd6de8920ad0e60e43134c843d9 (patch)
tree459111134d8fc563a67f1ce3956a664ffa086588 /ishtar_common/models.py
parent29b3601cb8596687668ad404aabebd7615258d45 (diff)
downloadIshtar-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.py2
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,