{% load seahub_tags i18n %} {% load url from future %}

{% trans "Libraries" %}

{% if owned_repos %} {% for repo in owned_repos %} {% if repo.latest_modify %} {% else %} {% endif %} {% endfor %}
{% trans "Name" %} {% trans "Description" %} {% trans "Last Update" %} {% trans "Operations" %}
{% trans {{ repo.props.name }} {{ repo.props.desc }}{{ repo.latest_modify|translate_seahub_time }}-- {% trans {% trans {% trans
{% else %}

{% trans "You have not created any libraries" %}

{% trans "You can create a library to organize your files. For example, you can create one for each of your projects. Each library can be synchronized and shared separately." %}

{% trans "Synchronize libraries with PC client" %}

{% trans "1. Download the library (make sure PC client is running)." %}

{% trans "2. Add files to the folder and they will be uploaded automatically." %}

{% endif %}
{% if in_repos %} {% for repo in in_repos %} {% if repo.props.last_modified %} {% else %} {% endif %} {% endfor %}
{% trans "Name" %} {% trans "Description" %} {% trans "Last Update" %} {% trans "Shared By" %} {% trans "Operations" %}
{% if repo.user_perm == 'rw' %} {% trans {% else %} {% trans {% endif %} {{ repo.props.repo_name }} {{ repo.props.repo_desc }}{{ repo.props.last_modified|translate_seahub_time }}--{{ repo.props.user|email2nickname }} {% trans {% trans
{% else %}

{% trans "No library is shared to you" %}

{% trans "Libraries shared to you will be listed here. Libraries shared as writable can be downloaded and synced. Read only libraries can only be downloaded, updates on local files will not be uploaded." %}

{% endif %}
{% if starred_files %} {% for sfile in starred_files %} {% endfor %}
{% trans "File Name" %} {% trans "Library" %} {% trans "Last Update" %}
{% trans {{ sfile.formatted_path }} {{ sfile.repo.name }} {{ sfile.last_modified|translate_seahub_time }}
{% else %}

{% trans "You don't have any starred files yet" %}

{% blocktrans %}You can star important files by clicking the "Star" button on file viewing page, and they will be listed here.{% endblocktrans %}

{% endif %}