Skip to content

Commit

Permalink
don't display content block on rate limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Glandos authored and almet committed Dec 10, 2022
1 parent 75ed637 commit 19f5f07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ihatemoney/templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ <h6 class="dropdown-header">{{ _('Languages') }}</h6>
{{ limit_message }}<br />
{{ _("Please retry after %(date)s.", date=breached_limit.reset_at | from_timestamp | datetimeformat("short") )}}
</p>
{% endif %}
{% else %}
{% block content %}{% endblock %}
{% endif %}
</main>
{% endblock %}
</div>
Expand Down

0 comments on commit 19f5f07

Please sign in to comment.