mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-22 15:51:19 +00:00
forum: display only viewable topics in "last unread"
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
parent
caa0c2099b
commit
2847a4547e
@ -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;">
|
||||
|
Loading…
Reference in New Issue
Block a user