{% extends base_template %} {% load seahub_tags avatar_tags i18n %} {% load url from future %} {% block sub_title %}{{filename}} - {% endblock %} {% block extra_style %} {% endblock %} {% block main_panel %}

{{ filename }} {% if is_starred %} {% else %} {% endif %} {% if is_pro %} {% trans {% endif %}

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

{% avatar latest_contributor 24 %} {{ latest_contributor|email2nickname }} {{ last_modified|translate_seahub_time}} {% block update_detail %} {% if last_commit_id %} {% trans "updated this file"%}. {% endif %} {% endblock %}
{% if can_lock_unlock_file %} {% if not file_locked %} {% elif locked_by_me %} {% endif %} {% endif %} {% if not repo.encrypted %} {% if request.user.permissions.can_generate_shared_link %} {% endif %} {% endif %} {% if file_perm == 'rw' %} {% trans "History" %} {% endif %} {% if request.user.is_authenticated and can_edit_file %} {% block edit_file %} {% endblock %} {% endif %} {% trans "Download"%}
{% if err %}
{% if err != 'invalid extension' %}

{{ err }}

{% endif %}
{% else %} {% block file_view %}{% endblock %} {% endif %}
{% include "snippets/file_share_popup.html" %}
{% endblock %} {% block extra_script %} {% if highlight_keyword %} {% endif %} {% endblock %}