From fe07ee096332610fefb1087666976eecaa77eccf Mon Sep 17 00:00:00 2001
From: Skia
{{ topic.description }}
- {% if user.is_owner(topic) %} + {% if user.can_edit(topic) %} diff --git a/forum/templates/forum/topic.jinja b/forum/templates/forum/topic.jinja index 126c1dcb..cec0514c 100644 --- a/forum/templates/forum/topic.jinja +++ b/forum/templates/forum/topic.jinja @@ -37,23 +37,23 @@{{ topic.description }}
- {% for m in topic.messages.select_related('author__profile_pict').all() %} + {% for m in topic.messages.select_related('author__avatar_pict').all() %} + {% if user.can_view(m) %} {% if m.id >= first_unread_message_id %}