From 440038531ae041a4800b11921197616c34f577f2 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 23 Sep 2024 12:42:55 +0200 Subject: ✨ homepage: statistics and more customizations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index b9bd1351e..f45ebe069 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1178,6 +1178,16 @@ class IshtarSiteProfile(models.Model, Cached): "can be used to display a random image." ), ) + homepage_title = models.CharField(_("Homepage - Title"), max_length=100, default="", blank=True) + homepage_statistics_available = models.BooleanField( + _("Homepage - Statistics available"), default=False + ) + homepage_statistics_available_offline = models.BooleanField( + _("Homepage - Statistics available off-line"), default=False + ) + homepage_random_image_available = models.BooleanField( + _("Homepage - Random image available"), default=False + ) operation_prefix = models.CharField( _("Main operation code prefix"), default="OA", -- cgit v1.2.3