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:
@@ -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>]
|
||||
|
||||
Reference in New Issue
Block a user