{% 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 path == '/' %} {% if user_perm %} {% endif %} {% if is_repo_owner %} {% endif %} {% if user_perm == 'rw' %} {% endif %} {% else %} {% endif %}
{% if user_perm == 'r' %}

{% trans "This library is read-only, you can not modify the contents of this library."%}

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

{{repo.props.desc}}

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

{{ current_commit.props.desc|translate_commit_desc }} {% trans "Details"%} {% if user_perm %} {% 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 and path != '/' %} {% endif %} {% if user_perm == 'rw' %} {% endif %}
{% for dirent in dir_list %} {% endfor %} {% for dirent in file_list %} {% endfor %}
{% trans "Name"%} {% trans "Size"%} {% trans "Last Update" %} {% trans "Operations"%}
{% trans {{ dirent.obj_name }} {% if dirent.last_modified %} {{ dirent.last_modified|translate_seahub_time }} {% else %} {% trans "Fetch failed" %} {% endif %} {% if user_perm %} {% endif %}
{% if dirent.starred %} {% trans 'starred' %} {% else %} {% trans 'unstarred' %} {% endif %} {% trans {{ dirent.props.obj_name }} {{ dirent.file_size|filesizeformat }} {% if dirent.last_modified %} {{ dirent.last_modified|translate_seahub_time }} {% else %} {% trans "Fetch failed" %} {% endif %}
{% endif %}
{% if user_perm %}

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

{% trans "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 %}
{% if is_repo_owner %}
{% csrf_token %}

{% trans "Library Settings" %}






{% trans "Keep full history" %}
{% trans "Don't keep history" %}
0 %}checked="checked"{% endif %} /> {% trans "Only keep a period of history:" %} {% trans "days" %}

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


{% trans 'Share' %}

{% trans 'Link: ' %}

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