{% load i18n %}
<table class="repo-list">
    <tr>
        <th width="4%"><!--icon--></th>
        <th width="31%">{% trans "Name" %}</th>
        <th width="25%">ID</th>
        <th width="25%">{% trans "Owner" %}</th>
        <th width="15%">{% trans "Operations" %}</th>
    </tr>
    {% for repo in repos %}
    <tr>
        {% if repo.encrypted %}
        <td><img src="{{MEDIA_URL}}img/sync-folder-encrypt-20.png" title="{% trans "Encrypted"%}" alt="{% trans "directory icon" %}" /></td>
        {% else %}
        <td><img src="{{MEDIA_URL}}img/sync-folder-20.png?t=1387267140" title="{% trans "Read-Write"%}" alt="{% trans "directory icon" %}" /></td>
        {% endif %}
        <td>{{ repo.props.name }}</td>
        <td style="font-size:11px;">{{ repo.id }}</td>
        <td>
            {% if repo.owner %}
            <a href="{{ SITE_ROOT }}useradmin/info/{{ repo.owner }}/">{{ repo.owner}}</a>
            {% else %}
            --
            {% endif %}
        </td>
        <td data-id="{{ repo.props.id }}" data-name="{{ repo.props.name }}">
            <div>
            <a href="#" data-url="{% url "sys_repo_delete" repo.id %}" data-target="{{ repo.name }}" class="repo-delete-btn op vh">{% trans "Delete" %}</a>
            <a href="#" class="repo-transfer-btn op vh">{% trans "Transfer" %}</a>
            </div>
        </td>
    </tr>
    {% endfor %}
</table>
