{% 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 "UpdateTime" %} {% trans "Operations" %}
{% trans {{ repo.props.name }} {{ repo.props.desc }}{{ repo.latest_modify|translate_commit_time }}-- {% trans {% trans {% trans
{% else %}

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

{% endif %}
{% if in_repos %} {% for repo in in_repos %} {% if repo.props.last_modified %} {% else %} {% endif %} {% endfor %}
{% trans "Name" %} {% trans "Description" %} {% trans "UpdateTime" %} {% 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_commit_time }}--{{ repo.props.user|email2nickname }} {% if repo.user_perm == 'rw' %} {% trans {% endif %} {% trans
{% else %}

{% trans "Libraries shared to you will be shown here." %}

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

{% trans "You can star important files, and they will be shown here." %}

{% endif %}