{% extends "myhome_base.html" %} {% load seahub_tags avatar_tags i18n upload_tags %} {% block sub_title %}{{repo.name}} - {% endblock %} {% block extra_style %} {% endblock %} {% block main_panel %}

{{repo.props.name}}{% if user_perm == 'r' %} ({% trans "Read-Only" %}){% endif %}

{{ repo.props.desc|truncatechars:25 }} {% trans 'Size: ' %}{{ repo_size|filesizeformat }} {% if show_repo_download_button or show_repo_settings or user_perm == 'rw' %} {% if show_repo_download_button %} {% trans "Download" %} {% endif %} {% if show_repo_settings %} {% trans "Settings" %} {% endif %} {% if user_perm == 'rw' %} {% trans "Trash"%} {% endif %} {% endif %}
{% if repo.enc_version == 2 and not server_crypto and repo.encrypted %}
{% else %}
{% include 'snippets/repo_dir_data.html' %}
{% endif %} {% if user_perm == 'rw' %}
{% endif %}
{% if no_quota %}

{% trans "Upload Files" %}

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

{% else %} {% if repo.enc_version == 2 and not server_crypto and repo.encrypted %}
{% csrf_token %}

{% trans "Upload Files" %}


{% trans "Please select a file at first." %}

{% else %}

{% trans "File Upload" %}

close

{% trans "Saving..." %}

{% endif %} {% endif %}

{% trans "Update %(file_name)s" %}

{% if no_quota %}

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

{% else %}
{% csrf_token %} {% if repo.enc_version == 2 and not server_crypto and repo.encrypted %}

{% trans "Please select a file at first." %}

{% else %}
{% trans "Choose a file" %} {% if max_upload_file_size %} ({% blocktrans with max_file_size=max_upload_file_size|filesizeformat %}Smaller than {{ max_file_size }}{% endblocktrans %}) {% endif %}

{% trans "Saving..." %}

{% endif %}
{% endif %}
{% csrf_token %}

{% trans "New Directory" %}



{% csrf_token %}

{% trans "New File" %}



{% csrf_token %}
{% trans "Current Library"%}
{% if not repo.encrypted %}
{% trans "Other Libraries"%}
{% endif %}

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

{% csrf_token %}

{% trans "Rename %(name)s as:" %}


{% include "snippets/file_share_popup.html" %} {% with attach_type='dir' %} {% include "snippets/group_recommend_form.html" %} {% endwith %} {% if repo.enc_version == 2 and not server_crypto and repo.encrypted %}

{% trans "This library is encrypted. Please input the password if you want to browse it online. And the password will be kept in the browser for only 1 hour." %}

{% url 'edit_profile' as profile_edit_url %}

{% blocktrans %}You can change how to view encrypted libraries online here.{% endblocktrans %}

{% endif %}
{% if groups|length > 1 %}

{% trans "Groups" %}

{{ repo_group_str }}
{% endif %} {% endblock %} {% block extra_script %} {% if repo.enc_version == 2 and not server_crypto and repo.encrypted %} {% else %} {% if not no_quota and user_perm == 'rw' %} {% upload_js %} {% endif %} {% endif %} {% endblock %}