{% extends 'base.html' %} {% load seahub_tags avatar_tags i18n staticfiles %} {% block sub_title %}{{filename}} - {% endblock %} {% block viewport %} {% endblock %} {% block extra_style %} {% endblock %} {% block header_css_class %}hide{% endblock %} {% block main_class %}ovhd d-flex fd-col{% endblock %} {% block main_content %}

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

{{ latest_contributor|email2nickname }} {{ last_modified|translate_seahub_time}} {% block update_detail %} {% if last_commit_id %} {% trans "updated this file"%}. {% endif %} {% endblock %}
{# 'ovhd' is for Firefox #}
{% if err %}
{% if err != 'File preview unsupported' %}

{{ err }}

{% else %}

{% trans "Online view is not applicable to this file format" %}

{% endif %} {% trans "Download" %} {% if file_perm == 'rw' %} {% if filetype == 'Document' or filetype == 'SpreadSheet' %} {% trans "Open via Client" %}

{% trans "Please install the desktop client to open file via client." %}

{% endif %} {% endif %}
{% else %} {% block file_view %}{% endblock %} {% endif %}
{% endblock %} {% block extra_script %} {% if highlight_keyword %} {% endif %} {% if enable_watermark %} {% endif %} {% endblock %}