mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
show content warnings in admin community overview
This commit is contained in:
parent
10b9f859a9
commit
8cb61c27fa
1 changed files with 3 additions and 1 deletions
|
@ -18,10 +18,11 @@
|
|||
<th>Name</th>
|
||||
<th>Title</th>
|
||||
<th>Topic</th>
|
||||
<th># Posts</th>
|
||||
<th># Posts</th>
|
||||
<th>Home</th>
|
||||
<th>Popular</th>
|
||||
<th>All</th>
|
||||
<th>Warning</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
{% for community in communities.items %}
|
||||
|
@ -34,6 +35,7 @@
|
|||
<th>{{ '✓'|safe if community.show_home else '✗'|safe }}</th>
|
||||
<th>{{ '✓'|safe if community.show_popular else '✗'|safe }}</th>
|
||||
<th>{{ '✓'|safe if community.show_all else '✗'|safe }}</th>
|
||||
<th>{{ '⚠'|safe if community.nsfw or community.nsfl or community.content_warning else ''|safe }}</th>
|
||||
<td><a href="/c/{{ community.link() }}">View</a> |
|
||||
<a href="{{ url_for('admin.admin_community_edit', community_id=community.id) }}">Edit</a> |
|
||||
<a href="{{ url_for('admin.admin_community_delete', community_id=community.id) }}" class="confirm_first">Delete</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue