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

{{ u_filename }}{% trans "'s Version History" %}

{% trans "Tip:a new version will be generated after each modification, and you can restore the file to a previous version." %}

{% trans 'Current Path:' %} {% for name, link in zipped %} {% if not forloop.last %} {{ name }} / {% else %} {{ name }} {% endif %} {% endfor %}

{% for commit in commits %} {% if commit.creator_name %} {% else %} {% endif %} {% endfor %}
{% trans 'Time' %} {% trans 'Last Modifier' %} {% trans 'Size' %} {% trans 'Operations' %}
{{ commit.props.ctime|translate_seahub_time }} {% if commit.is_current_version %} {% trans '(current version)' %} {% endif %} {% avatar commit.creator_name 16 %} {{ commit.creator_name|email2nickname }} {% trans 'Unknown' %}{{ commit.revision_file_size|filesizeformat }} {% if commit.id != repo.head_cmmt_id %} {% trans 'Restore' %} {% endif %} {% trans 'Download' %} {% trans 'View' %} {% if can_compare and not forloop.last %} {% trans 'Diff' %} {% endif %}
{% endblock %}