{% load i18n %}{% if component.is_summary %}

{{ component.title }}

    {% for entry in component.summary_entries %}
  1. {% if entry.action %}{{ entry.message|force_escape }}{% else %}{{ entry.message|force_escape }}{% endif %}{% if entry.object_label %}
    {{ entry.object_label|force_escape }}
    {% endif %}
  2. {% empty %}
  3. {% translate 'Событий пока нет' %}
  4. {% endfor %}
{% if component.all_action %}{% endif %}
{% else %}{% load i18n %}

{{ component.title }}

{% if component.source_label %}{{ component.source_label }}{% endif %}{% for source in component.sources %}{{ source.label }}{% endfor %}
    {% for entry in component.visible_entries %}
  1. {{ entry.level }}{% if entry.reference %}{{ entry.reference|force_escape }}{% endif %}
    {{ entry.message|force_escape }}
    {% if entry.details %}
    {% translate 'Подробности' %}
    {{ entry.details|force_escape }}
    {% endif %}{% if entry.action %}{{ entry.action.label }}{% endif %}
  2. {% empty %}
  3. {% translate 'Нет событий в выбранном периоде' %}
  4. {% endfor %}
{% endif %}