Keep using blocktrans for Django 3 compatibility

This commit is contained in:
blag 2022-12-26 22:48:37 -07:00
parent 1af6316b78
commit 679d71f3ac
No known key found for this signature in database
GPG key ID: 30870D32F59C5F40

View file

@ -2,9 +2,9 @@
{% if note %}
<h2>{{ note }}</h2>
{% else %}
{% blocktranslate with tos_created=tos.created|date:"SHORT_DATE_FORMAT" %}
{% blocktrans with tos_created=tos.created|date:"SHORT_DATE_FORMAT" %}
Terms of Service as of {{ tos_created }}
{% endblocktranslate %}
{% endblocktrans %}
{% endif %}
{{ tos.content|safe }}