From 4e60569cdc4a404bad7401af50e92c5e6dbdeb5a Mon Sep 17 00:00:00 2001 From: Alek Ratzloff Date: Sat, 25 Jun 2022 20:51:56 -0700 Subject: [PATCH] Fix blocktranslate issue in post_snippet.html Can't use template filters, so this is fixed. Signed-off-by: Alek Ratzloff --- board/templates/board/post_snippet.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/board/templates/board/post_snippet.html b/board/templates/board/post_snippet.html index 0baa795..ebced2b 100644 --- a/board/templates/board/post_snippet.html +++ b/board/templates/board/post_snippet.html @@ -30,11 +30,10 @@ {% if post.subject %} {{post.subject}} {% endif %} -{% blocktranslate %} +{% blocktranslate with post_name=post.name|default:"Anonymous" post_created=post.created %} by -{{post.name|default:"Anonymous"}} -at -{{post.created}} +{{post_name}} +at {{post_created}} {% endblocktranslate %} {% if reply_link %} [{% translate "Reply" %}]