{% 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 -%}
{{ _('When') }} | {% if can_see_names %}{{ _('Moderator') }} | {% endif %}{{ _('Action') }} |
---|---|---|
{{ arrow.get(modlog_entry.created_at).humanize(locale=locale) }} | {% if can_see_names %}{{ render_username(modlog_entry.author) }} | {% endif %}{{ 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 -%} |
{{ _('There are no moderation actions to show.') }}
{% endif -%}