{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} {% from 'bootstrap/form.html' import render_field %} {% block app_content %}
{% include "community/_community_moderation_nav.html" %}

{{ _('Moderation actions in %(community)s', community=community.display_name()) }}

{{ _('See things moderators have done in this community.') }}

{% if modlog_entries.items %} {% for modlog_entry in modlog_entries.items %} {% 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.reason -%}
{{ _('Reason:') }} {{ modlog_entry.reason }} {% endif -%}
{% else -%}

{{ _('This community has had no moderation actions yet.') }}

{% endif -%}
{% endblock %}