{% 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 = 'modlog' -%} {% block app_content -%}

{{ _('Moderation log') }}

{% if modlog_entries.items %} {% if can_see_names %}{% endif %} {% for modlog_entry in modlog_entries.items %} {% if can_see_names %}{% endif %} {% endfor %}
{{ _('When') }}{{ _('Moderator') }}{{ _('Action') }}
{{ arrow.get(modlog_entry.created_at).humanize(locale=locale) }}{{ 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.community_id -%} {{ _(' in %(community_name)s', community_name='' + modlog_entry.community.display_name()) }} {% endif -%} {% if modlog_entry.reason -%}
{{ _('Reason:') }} {{ modlog_entry.reason }} {% endif -%}
{% else -%}

{{ _('There are no moderation actions to show.') }}

{% endif -%}
{% endblock -%}