{% 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 }}

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

{% if latest_contributor %} {% avatar latest_contributor 24 %} {{ latest_contributor|email2nickname }} {% endif %} {% if last_modified %} {{ last_modified|translate_seahub_time}} {% endif %} {% block update_detail %} {% if last_commit_id %} {% trans "updated this file"%}. {% endif %} {% endblock %} {% blocktrans count counter=contributors|length %}one contributor{% plural %} {{ counter }} contributors {% endblocktrans %} {% for user in contributors|slice:":6" %} {% avatar user 20 %} {% endfor %}
{% if request.user.is_authenticated %} {% block edit_file %} {% endblock %} {% endif %}
{% if err %}

{{ err }}

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

{% trans "Post a discussion to group" %}

{% for group in groups %} {% endfor %}

{% for name,link in zipped %} {% if forloop.last %} {% trans 'File' %} {{ name }} {% endif %} {% endfor %}
    {% trans
    {% if groups|length > 1 %}

    {% trans "Groups" %}

    {{ repo_group_str }}
    {% endif %} {% endif %} {% endblock %} {% block extra_script %} {% if highlight_keyword %} {% endif %} {% endblock %}