{% extends "home_base.html" %} {% load seahub_tags avatar_tags i18n %} {% block sub_title %}{% trans "Clients" %} - {% endblock %} {% block cur_clients %}tab-cur{% endblock %} {% block right_panel %}

{% trans "Clients" %}

{% if clients %} {% for client in clients %} {% endfor %}
{% trans "Client Name" %} {% trans "Library" %} {% trans "IP" %} {% trans "Last Sync" %} {% trans "Operations" %}
{% if client.peer_name %} {% if client.show_peer_name %} {{ client.peer_name }} {% endif %} {% else %} -- {% endif %} {{ client.repo_name }} {% if client.peer_ip %} {{ client.peer_ip }} {% else %} -- {% endif %} {% if client.sync_time > 0 %} {{ client.sync_time|translate_seahub_time }} {% else %} {% trans "Not synced" %} {% endif %}
{% trans "Unsync" %}

{% trans "Really want to unsync it?" %}

{% else %}

{% trans "You do not have connected clients" %}

{% trans "The libraries synced to desktop clients are listed in this page. You can see the client's name and its IP address. You may unsync a client from a library if you no longer want to sync it." %}

{% endif %} {% endblock %} {% block extra_script %}{{block.super}} {% endblock %}