From 19f5f07bfb325759f8576deb52cc84015fc550be Mon Sep 17 00:00:00 2001 From: Glandos Date: Thu, 27 Oct 2022 22:15:48 +0200 Subject: [PATCH] don't display content block on rate limit --- ihatemoney/templates/layout.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ihatemoney/templates/layout.html b/ihatemoney/templates/layout.html index 4d8cf6d6..c99960eb 100644 --- a/ihatemoney/templates/layout.html +++ b/ihatemoney/templates/layout.html @@ -139,8 +139,9 @@ {{ limit_message }}
{{ _("Please retry after %(date)s.", date=breached_limit.reset_at | from_timestamp | datetimeformat("short") )}}

- {% endif %} + {% else %} {% block content %}{% endblock %} + {% endif %} {% endblock %}