{% extends "myhome_base.html" %} {% load seahub_tags i18n upload_tags avatar_tags %} {% load url from future %} {% block extra_style %} {% endblock %} {% block main_panel %}

{% blocktrans %}Upload files to {{ dir_name }}{% endblocktrans %}

{% trans "shared by:" %} {{username|email2nickname}} {% avatar username 16 %}

{% if no_quota %}

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

{% else %}
{% csrf_token %}
{% trans "Add Files" %} {% if enable_upload_folder %} {% endif %}
  1. {% trans "File Drag & Drop is supported for Chrome, Safari 5.0+, Firefox 4.0+, IE 10.0+" %}
  2. {% if enable_upload_folder %}
  3. {% trans "Folder Drag & Drop is supported for Chrome" %}
  4. {% endif %} {% if max_upload_file_size %}
  5. {% blocktrans with max_file_size=max_upload_file_size|filesizeformat %}File size should be smaller than {{ max_file_size }}{% endblocktrans %}
  6. {% endif %}

{% trans "Saving..." %}

{% endif %}
{% endblock %} {% block extra_script %} {% if not no_quota %} {% upload_js %} {% endif %} {% endblock %}