From b6dcd4c3f920bfd6de8920ad0e60e43134c843d9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 9 Dec 2019 18:56:27 +0100 Subject: Can configure a warning banner and a warning message --- ishtar_common/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar_common/models.py') 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, -- cgit v1.2.3