{% extends "base_wide_page.html" %} {% load seahub_tags avatar_tags i18n %} {% load staticfiles %} {% block sub_title %}{% trans "History" %} - {% endblock %} {% block extra_style %} {% endblock %} {% block wide_page_content %}

{% blocktrans with repo_name=repo.props.name %}{{repo_name}} Modification History{% endblocktrans %}

{% if referer %} {% endif %} {% if user_perm == 'rw' %}

{% trans "Tip: a snapshot will be generated after modification, which records the library state after the modification."%}

{% endif %} {% if show_label %} {% else %} {% endif %} {% for commit in commits %} {% if commit.show %} {% if show_label %} {% endif %} {% endif %} {% endfor %}
{% trans "Description" %} {% trans "Time" %} {% trans "Modifier" %} {% trans "Device" %} / {% trans "Version" %} {% trans "Labels" %} {% trans "Operations" %}{% trans "Description" %} {% trans "Time" %} {% trans "Modifier" %} {% trans "Device" %} / {% trans "Version" %} {% trans "Operations" %}
{{ commit.props.desc|translate_commit_desc }} {% if page_next or not forloop.last %} {% trans "Details"%} {% endif %} {{ commit.ctime|translate_seahub_time }} {% if commit.creator_name %} {% if not commit.second_parent_id %} {{ commit.creator_name|email2nickname }} {% else %} {% trans "None"%} {% endif %} {% else %} {% trans "Unknown"%} {% endif %} {% if commit.client_version %} {{ commit.device_name }} / {{ commit.client_version }} {% else %} API / -- {% endif %} {% for label in commit.labels %} {{ label }} {% endfor %} {% if user_perm == 'rw' %} {% endif %} {% if user_perm == 'rw' %} {% if forloop.first and current_page == 1 %} {% trans "Current Version" %} {% else %} {% trans "View Snapshot" %} {% endif %} {% endif %}
{% if current_page != 1 %} {% trans "Previous"%} {% endif %} {% if page_next %} {% trans "Next"%} {% endif %}
{% if show_label and user_perm == 'rw' %}

{% trans "Edit labels" %}


{% endif %} {% endblock %} {% block extra_script %} {% endblock %}