{% extends base_template %} {% load seahub_tags avatar_tags i18n %} {% load url from future %} {% block info_bar_message %} {% if request.user.is_authenticated %} {{ block.super }} {% else %} {% endif %} {% endblock %} {% block main_panel %}

{{repo.props.name}}

{% if user_perm == 'rw' %} {% endif %}
{% if user_perm == 'r' %}

{% trans "This library is read-only, and you can only view the files."%}

{% endif %} {% if user_perm and path == '/' %}

{{repo.props.desc}}

{% trans 'Size: ' %}{{ repo_size|filesizeformat }}

{{ current_commit.props.desc|translate_commit_desc }} {% trans "Detail"%} {% if user_perm == 'rw' %} {% trans "History"%} {% endif %}

{% if current_commit.props.creator_name %} {% if not current_commit.second_parent_id %} {% avatar current_commit.props.creator_name 20 %} {{ current_commit.creator_name|email2nickname }} {% else %} {% trans "Generated by system"%} {% endif %} {% else %} {% trans "Unknown"%} {% endif %} {{ current_commit.props.ctime|translate_seahub_time }}

{% endif %}
{% if not user_perm %}

{% trans "You can't access this library."%}

{% else %}

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

{% if user_perm == 'rw' %}
{% endif %}
{% for dirent in dir_list %} {% endfor %} {% for dirent in file_list %} {% endfor %}
{% trans "Name"%} {% trans "Size"%} {% trans "Operations"%}
{% trans {{ dirent.obj_name }} {% if user_perm %} {% endif %}
{% if dirent.starred %} {% trans 'Starred' %} {% else %} {% trans 'Unstarred' %} {% endif %} {% trans {{ dirent.props.obj_name }} {{ dirent.file_size|filesizeformat }}
{% endif %}

{% trans "Upload Files" %}

{% if no_quota %}

{% trans "The owner of this library has ran out of space." %}

{% else %}
{% trans "Add files" %} ({% trans "smaller than" %} {{ max_upload_file_size|filesizeformat }})

{{ error_msg }}

{% trans "Uploaded:" %} {% trans "Fetching ..." %}

{% endif %}

Update File

{% if no_quota %}

{% trans "The owner of this library has ran out of space." %}

{% else %}

({% trans "Smaller than" %} {{ max_upload_file_size|filesizeformat }})

{{ error_msg }}

{% trans "Uploaded:" %} {% trans "Fetching..." %}

{% endif %}
{% csrf_token %}

{% trans "New Directory" %}


{% csrf_token %}

{% trans "New File" %}

{% trans "Current Library"%}
{% trans "Other Libraries"%}

{% trans "Please click and choose a directory."%}

{% trans 'Rename ' %}

{% trans 'Rename as: ' %}


{% with attach_type='dir' %} {% include "snippets/group_recommend_form.html" %} {% endwith %} {% endblock %} {% block extra_script %} {% include 'snippets/file_upload_progress_js.html' %} {% endblock %}