{% extends "home_base.html" %} {% load seahub_tags i18n %} {% load url from future %} {% block sub_title %}{% trans "Files - Share" %} - {% endblock %} {% block cur_share_files %}tab-cur{% endblock %} {% block right_panel %}
{% if priv_share_in %} {% for e in priv_share_in %} {% if e.s_type == 'f' %} {% else %} {% endif %} {% endfor %}
{% trans "Name" %} {% trans "Library" %} {% trans "From" %} {% trans "Operations" %}
{{e.file_or_dir}} {{e.file_or_dir}}-- {{e.from_user|email2nickname}}
{% else %}

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

{% trans "Single files shared to you will be listed here, and you can download them or save them to some libraries." %}

{% endif %}
{% if user.permissions.can_add_repo %}
{% if priv_share_out %} {% for e in priv_share_out %} {% if e.s_type == 'f' %} {% else %} {% endif %} {% endfor %}
{% trans "Name"%} {% trans "Library"%} {% trans "To"%} {% trans "Operations"%}
{% trans {{e.file_or_dir}}{% trans {{e.file_or_dir}}{{e.repo.name}} {{e.to_user|email2nickname}}
{% else %}

{% trans "You don't have any private shared files" %}

{% trans "You can share a single file with a registered user if you don't want to share a whole library." %}

{% endif %}
{% endif %}
{% endblock %}