From 72102f25933d55d53879c1a2fb305ced18cd7516 Mon Sep 17 00:00:00 2001 From: Andrew Shu Date: Sat, 11 Jul 2020 17:00:11 -0700 Subject: [PATCH] Show (OP) in Topic Log changes --- tildes/tildes/templates/topic.jinja2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tildes/tildes/templates/topic.jinja2 b/tildes/tildes/templates/topic.jinja2 index 20d8eaa..12d9158 100644 --- a/tildes/tildes/templates/topic.jinja2 +++ b/tildes/tildes/templates/topic.jinja2 @@ -344,6 +344,12 @@ Unknown user {% else %} {{ link_to_user(entry.user) }} + + {% if entry.user == topic.user %} + + (OP) + + {% endif %} {% endif %} {{ entry }} ({{ time_ago(entry.event_time, abbreviate=True) }})