Fix blocktrans variable and tag name

This commit is contained in:
blag 2022-12-05 11:44:10 -08:00
parent 3e5ede7635
commit 13d5070910
No known key found for this signature in database
GPG key ID: 30870D32F59C5F40

View file

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