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

{% if show_repo_download_button %} {% endif %} {% if is_repo_owner %} {% endif %} {% if user_perm == 'rw' %} {% endif %}

{{repo.props.desc}} {% trans 'Size: ' %}{{ repo_size|filesizeformat }}

{% include 'snippets/current_commit.html' %}
{% 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 %}

{% trans "Upload Files" %}

{% 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 "Add Files" %}
  1. {% trans "Drag & Drop is supported for Chrome, Safari 5.0+, Firefox 4.0+, IE 10.0+" %}
  2. {% if max_upload_file_size %}
  3. {% blocktrans with max_file_size=max_upload_file_size|filesizeformat %}File size should be smaller than {{ max_file_size }}{% endblocktrans %}
  4. {% endif %}

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


{% if ENABLE_SUB_LIBRARY and sub_lib_enabled and not repo.is_virtual %}

{% trans "Sync %(dir_name)s" %}

{% trans "A sub-library will be created from this directory. It will be listed in your desktop client, and you can download it just like downloading a normal library." %}

{% endif %} {% 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 %} {% endblock %} {% block extra_script %} {% if repo.enc_version == 2 and not server_crypto and repo.encrypted %} {% else %} {% upload_js %} {% endif %} {% endblock %}