2024-03-29 13:41:43 +01:00
< div class = "btn-group mt-3 mb-2 flex-wrap" >
2024-03-26 23:17:10 +01:00
{% if community.is_owner() or current_user.is_admin() %}
< a href = "{{ url_for('community.community_edit', community_id=community.id) }}" class = "btn {{ 'btn-primary' if current == '' or current == 'edit_settings' else 'btn-outline-secondary' }}" rel = "nofollow noindex" >
{{ _('Settings') }}
< / a >
{% endif %}
2024-07-16 19:52:44 +08:00
< a href = "{{ url_for('community.community_moderate', actor=community.link()) }}" aria-label = "{{ _('Sort by hot') }}" class = "btn {{ 'btn-primary' if current == '' or current == 'reports' else 'btn-outline-secondary' }}" rel = "nofollow noindex" >
2024-03-18 21:05:13 +13:00
{{ _('Reports') }}
< / a >
2024-07-16 19:52:44 +08:00
< a href = "{{ url_for('community.community_mod_list', community_id=community.id) }}" class = "btn {{ 'btn-primary' if current == 'moderators' else 'btn-outline-secondary' }}" rel = "nofollow noindex" >
{{ _('Moderators') }}
< / a >
< a href = "{{ url_for('community.community_moderate_subscribers', actor=community.link()) }}" class = "btn {{ 'btn-primary' if current == 'subscribers' else 'btn-outline-secondary' }}" rel = "nofollow noindex" >
2024-03-29 13:41:43 +01:00
{{ _('Subscribers') }}
2024-03-18 21:05:13 +13:00
< / a >
2024-07-17 22:11:31 +08:00
< a href = "{{ url_for('community.community_wiki_list', actor=community.link()) }}" class = "btn {{ 'btn-primary' if current == 'wiki' else 'btn-outline-secondary' }}" rel = "nofollow noindex" >
{{ _('Wiki') }}
< / a >
2024-03-26 23:17:10 +01:00
< a href = "/community/{{ community.link() }}/moderate/appeals" class = "btn {{ 'btn-primary' if current == 'appeals' else 'btn-outline-secondary' }} disabled" rel = "nofollow noindex" >
2024-03-18 21:05:13 +13:00
{{ _('Appeals') }}
< / a >
2024-07-16 19:52:44 +08:00
< a href = "{{ url_for('community.community_modlog', actor=community.link()) }}" class = "btn {{ 'btn-primary' if current == 'modlog' else 'btn-outline-secondary' }} " rel = "nofollow noindex" >
2024-03-18 21:05:13 +13:00
{{ _('Mod log') }}
< / a >
< / div >