From 5d522e0ff401ac3ee537c796a29ed9486a5013b0 Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:17:27 +0800 Subject: [PATCH] tweak annoying little bug --- app/templates/post/continue_discussion.html | 2 +- app/templates/post/post.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/post/continue_discussion.html b/app/templates/post/continue_discussion.html index 88cd0568..3ec71a92 100644 --- a/app/templates/post/continue_discussion.html +++ b/app/templates/post/continue_discussion.html @@ -40,7 +40,7 @@ {% endif %} {% endif %} - {% if comment['comment'].author.id == post.author.id %}[OP]{% endif %} + {% if comment['comment'].author.id == post.author.id %}[OP] {% endif %} {{ moment(comment['comment'].posted_at).fromNow(refresh=True) }}{% if comment['comment'].edited_at %}, edited {{ moment(comment['comment'].edited_at).fromNow(refresh=True) }} {% endif %} {% if comment['comment'].reports and current_user.is_authenticated and post.community.is_moderator(current_user)%} diff --git a/app/templates/post/post.html b/app/templates/post/post.html index ed0a4a4d..f64f5ef8 100644 --- a/app/templates/post/post.html +++ b/app/templates/post/post.html @@ -101,7 +101,7 @@ {% endif -%} {% endif -%} - {% if comment['comment'].author.id == post.author.id -%}[OP]{% endif -%} + {% if comment['comment'].author.id == post.author.id -%}[OP] {% endif -%} {{ moment(comment['comment'].posted_at).fromNow(refresh=True) }}{% if comment['comment'].edited_at -%}, edited {{ moment(comment['comment'].edited_at).fromNow(refresh=True) }} {% endif -%} {% if comment['comment'].reports and current_user.is_authenticated and post.community.is_moderator(current_user)%}