{% extends base_template %} {% load seahub_tags avatar_tags i18n %} {% load url from future %} {% block main_panel %}

{{repo.props.name}} {% trans "modification history" %}

{% if user_perm == 'rw' %}

{% trans "Tip: A snapshot will be generated after modification, which records the library state before this modification."%}{% trans "View Snapshot"%}

{% endif %}
{% for commit in commits %} {% endfor %}
{% trans "Time" %} {% trans "Modifier"%} {% trans "Description"%}
{{ commit.ctime|translate_seahub_time }} {% if commit.creator_name %} {% if not commit.second_parent_id %} {% avatar commit.creator_name 16 %} {{ commit.creator_name|email2nickname }} {% else %} {% trans "None"%} {% endif %} {% else %} {% trans "Unknown"%} {% endif %} {{ commit.props.desc|translate_commit_desc }} {% if page_next or not forloop.last %} {% trans "Details"%} {% endif %}
{% if current_page != 1 %} {% trans "Previous"%} {% endif %} {% if page_next %} {% trans "Next"%} {% endif %} {% if current_page != 1 or page_next %} | {% endif %} {% trans "Per page: "%} {% if per_page == 25 %} 25 {% else %} 25 {% endif %} {% if per_page == 50 %} 50 {% else %} 50 {% endif %} {% if per_page == 100 %} 100 {% else %} 100 {% endif %}
{% endblock %} {% block extra_script %} {% endblock %}