{% 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 %}
{% else %} {% block file_view %}{% endblock %} {% endif %}
{% include "snippets/file_share_popup.html" %}
{% endblock %} {% block extra_script %} {# for 'tabs' used in share popup #} {% if highlight_keyword %} {% endif %} {% if enable_watermark %} {% endif %} {% endblock %}