From 6a79c1a4b5c8095bf6e4c2a72a9c97d43f3f733b Mon Sep 17 00:00:00 2001 From: mst Date: Thu, 19 Sep 2024 23:38:20 +0300 Subject: [PATCH] 1.4.4-alpha - don't show rules accordion if there aren't any rules --- constants.py | 2 +- templates/index.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/constants.py b/constants.py index bda0b69..5093d9e 100644 --- a/constants.py +++ b/constants.py @@ -2,6 +2,6 @@ antiSpamFile = 'wordlist.txt' blacklistFile = 'word_blacklist.txt' configFile = 'config.json' appName = 'CatAsk' -version = '1.4.3' +version = '1.4.4' # id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9 version_id = '-alpha' diff --git a/templates/index.html b/templates/index.html index f9d9ccf..3b092ea 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,6 +12,7 @@

{{ cfg.instance.description | render_markdown }}

{% endautoescape %} + {% if len(cfg.instance.rules) > 0 %}
@@ -28,6 +29,7 @@
+ {% endif %}