{% extends 'base_wide_page.html' %} {% load seahub_tags avatar_tags i18n %} {% load url from future %} {% block sub_title %}{% trans "History" %} - {% endblock %} {% block extra_style %} {% endblock %} {% block wide_page_content %}
{% trans "Tip: a new version will be generated after each modification, and you can restore the file to a previous version." %}
{% trans 'Time' %} | {% trans 'Modifier' %} | {% trans 'Size' %} | {% trans 'Operations' %} | |
---|---|---|---|---|
{{ commit.props.ctime|translate_seahub_time }}
{% if commit.is_first_commit %}
{% trans '(current version)' %}
{% endif %}
{% if commit.rev_renamed_old_path %}
{% blocktrans with old_path=commit.rev_renamed_old_path %}(Renamed or moved from {{ old_path }}){% endblocktrans %} {% endif %} |
{% if commit.creator_name %}
{% avatar commit.creator_name 16 %} {{ commit.creator_name|email2nickname }} | {% else %}{% trans 'Unknown' %} | {% endif %}{{ commit.rev_file_size|filesizeformat }} | {% if can_revert_file and not commit.is_first_commit %} {% trans 'Restore' %} {% endif %} {% trans 'Download' %} {% trans 'View' %} {% if can_compare and not forloop.last %} {% trans 'Diff' %} {% endif %} |