Fix blocktranslate issue in post_snippet.html

Can't use template filters, so this is fixed.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-06-25 20:51:56 -07:00
parent e596d59e82
commit 4e60569cdc

View File

@@ -30,11 +30,10 @@
{% if post.subject %}
<span class="post_subject">{{post.subject}}</span>
{% endif %}
{% blocktranslate %}
{% blocktranslate with post_name=post.name|default:"Anonymous" post_created=post.created %}
by
<span class="post_name">{{post.name|default:"Anonymous"}}</span>
at
{{post.created}}
<span class="post_name">{{post_name}}</span>
at {{post_created}}
{% endblocktranslate %}
{% if reply_link %}
[<a href="{{post.get_absolute_url}}">{% translate "Reply" %}</a>]