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 %}
|
{% if post.subject %}
|
||||||
<span class="post_subject">{{post.subject}}</span>
|
<span class="post_subject">{{post.subject}}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% blocktranslate %}
|
{% blocktranslate with post_name=post.name|default:"Anonymous" post_created=post.created %}
|
||||||
by
|
by
|
||||||
<span class="post_name">{{post.name|default:"Anonymous"}}</span>
|
<span class="post_name">{{post_name}}</span>
|
||||||
at
|
at {{post_created}}
|
||||||
{{post.created}}
|
|
||||||
{% endblocktranslate %}
|
{% endblocktranslate %}
|
||||||
{% if reply_link %}
|
{% if reply_link %}
|
||||||
[<a href="{{post.get_absolute_url}}">{% translate "Reply" %}</a>]
|
[<a href="{{post.get_absolute_url}}">{% translate "Reply" %}</a>]
|
||||||
|
|||||||
Reference in New Issue
Block a user