show content_retention in communities list

This commit is contained in:
rimu 2024-09-03 10:50:48 +12:00
parent 48dfd6aa0b
commit 638eac45af

View file

@ -22,6 +22,7 @@
<th>Title</th>
<th>Topic</th>
<th>#&nbsp;Posts</th>
<th>Retention</th>
<th title="{{ _('Posts show on home page.') }}">Home</th>
<th title="{{ _('Posts can be popular.') }}">Popular</th>
<th title="{{ _('Posts show in the All feed.') }}">All</th>
@ -34,6 +35,7 @@
<td>{{ render_communityname(community) }}{% if community.banned %} (banned){% endif %}</td>
<td>{{ community.topic.name }}</td>
<td>{{ community.post_count }}</td>
<td>{{ community.content_retention if community.content_retention != -1 }}</td>
<th>{{ '&check;'|safe if community.show_home else '&cross;'|safe }}</th>
<th>{{ '&check;'|safe if community.show_popular else '&cross;'|safe }}</th>
<th>{{ '&check;'|safe if community.show_all else '&cross;'|safe }}</th>