{% load seahub_tags avatar_tags i18n %} {% for e_group in event_groups %}

{{ e_group.date }}

    {% for e in e_group.events %}
  1. {% avatar e.author 36 %}
    {% if e.etype == "repo-update" %} {% with repo=e.repo commit=e.commit %}

    {{ repo.name }} {{ commit.converted_cmmt_desc|translate_commit_desc_escape|safe }} {% if commit.more_files %} {% if repo.encrypted %} {% trans 'Details' %} {% else %} {% trans 'Details' %} {% endif %} {% endif %}

    {% endwith %} {% endif %} {% if e.etype == "repo-create" %}

    {% trans "Created library" %} {{ e.repo_name }}

    {% endif %} {% if e.etype == "repo-delete" %}

    {% blocktrans with library_name=e.repo_name %}Deleted library {{ library_name }}{% endblocktrans %}

    {% endif %}

    {{ e.author|email2nickname }} {{ e.time|translate_seahub_time }}

  2. {% endfor %}
{% endfor %}