{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') -%} {% extends 'themes/' + theme() + '/base.html' -%} {% else -%} {% extends "base.html" -%} {% endif -%} -%} {% from 'bootstrap5/form.html' import render_form -%} {% set active_child = 'list_communities' -%} {% block app_content -%}
{{ _('When') }} | {{ _('Moderator') }} | {{ _('Action') }} |
---|---|---|
{{ moment(modlog_entry.created_at).fromNow() }} | {{ render_username(modlog_entry.author) }} | {{ modlog_entry.action_to_str() }}
{% if modlog_entry.link and modlog_entry.link_text -%}
{{ modlog_entry.link_text}}
{% elif modlog_entry.link_text -%}
{{ modlog_entry.link_text }}
{% endif -%}
{% if modlog_entry.reason -%}
{{ _('Reason:') }} {{ modlog_entry.reason }} {% endif -%} {% if modlog_entry.community_id -%} {{ _(' in %(community_name)s', community_name='' + modlog_entry.community.display_name()) }} {% endif -%} |
{{ _('There are no moderation actions to show.') }}
{% endif -%}