Commit 2847a454 authored by Skia's avatar Skia

forum: display only viewable topics in "last unread"

Signed-off-by: Skia's avatarSkia <skia@libskia.so>
parent caa0c209
Pipeline #1212 passed with stage
in 6 minutes and 13 seconds
......@@ -17,7 +17,9 @@
<a class="ib" href="{{ url('forum:last_unread') }}">{% trans %}Refresh{% endtrans %}</a>
</p>
{% for t in page_obj.object_list %}
{% if user.can_view(t) %}
{{ display_topic(t, user, True) }}
{% endif %}
{% endfor %}
<p style="text-align: right; background: #d8e7f3;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment