mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-03-16 20:10:24 +00:00
Fix blocktrans variable and tag name
This commit is contained in:
parent
3e5ede7635
commit
13d5070910
1 changed files with 3 additions and 1 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue