diff --git a/seahub/institutions/templates/institutions/base.html b/seahub/institutions/templates/institutions/base.html deleted file mode 100644 index 619f437a881..00000000000 --- a/seahub/institutions/templates/institutions/base.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} - -{% block main_class %}d-flex ovhd{% endblock %} - -{% block admin_link %} -{% trans "Exit admin panel" %} -{% endblock %} - -{% block main_content %} -
- | {% trans "Name" %} | -{% trans "Size"%} | -{% trans "Last Update"%} | -{% trans "Operations" %} | -||||
---|---|---|---|---|---|---|---|---|
- {% else %} - | - {% endif %} - - {% if not repo.name %} - | Broken ({{repo.id}}) | - {% else %} - {% if repo.encrypted %} -{{ repo.name }} | - {% elif enable_sys_admin_view_repo %} -{{ repo.name }} | - {% else %} -{{ repo.name }} | - {% endif %} - {% endif %} - -{{ repo.size|filesizeformat }} | -{{ repo.last_modify|translate_seahub_time }} | -- | -
{% trans "Name" %} | -{% trans "Role" %} | -{% trans "Create At" %} | -{% trans "Operations" %} | -
---|---|---|---|
{{ group.group_name }} | -{{ group.role }} | -{{ group.timestamp|tsstr_sec }} | -- |
{% trans "Email" %} / {% trans "Name" %} / {% trans "Contact Email" %} | -{% trans "Status" %} | -{% trans "Space Used" %} | -{% trans "Create At / Last Login" %} | -{% trans "Operations" %} | -
---|---|---|---|---|
- {{ user.email }}
- {% if user.name %} {{ user.name }}{% endif %} - {% if user.contact_email %} {{ user.contact_email }}{% endif %} - |
-
-
- {% if user.is_active %}
- {% trans "Active" %}
- {% else %}
- {% trans "Inactive" %}
- {% endif %}
- {% if not user.is_self and not user.is_staff and not user.is_institution_admin %}
-
- {% endif %}
-
-
- |
-
- {{ user.space_usage|seahub_filesizeformat }} {% if user.space_quota > 0 %} / {{ user.space_quota|seahub_filesizeformat }} {% endif %} - |
-
- {% if user.source == "DB" %}
- {{ user.ctime|tsstr_sec }} / - {% else %} - -- / - {% endif %} - {% if user.last_login %}{{user.last_login|translate_seahub_time}} {% else %} -- {% endif %} - |
- - {% if not user.is_self and not user.is_staff and not user.is_institution_admin %} - {% trans "Delete" %} - {% endif %} - | -
{% trans "Empty" %}
-{% endif %} - -{% trans "Activating..., please wait" %}
-{% trans "Email" %} / {% trans "Name" %} / {% trans "Contact Email" %} | -{% trans "Status" %} | -{% trans "Space Used" %} | -{% trans "Create At / Last Login" %} | -{% trans "Operations" %} | -
---|---|---|---|---|
- {{ user.email }}
- {% if user.name %} {{ user.name }}{% endif %} - {% if user.contact_email %} {{ user.contact_email }}{% endif %} - |
-
-
- {% if user.is_active %}
- {% trans "Active" %}
- {% else %}
- {% trans "Inactive" %}
- {% endif %}
-
- |
-
- {{ user.space_usage|seahub_filesizeformat }} {% if user.space_quota > 0 %} / {{ user.space_quota|seahub_filesizeformat }} {% endif %} - |
-
- {% if user.source == "DB" %}
- {{ user.ctime|tsstr_sec }} / - {% else %} - -- / - {% endif %} - {% if user.last_login %}{{user.last_login|translate_seahub_time}} {% else %} -- {% endif %} - |
- - {% if not user.is_self and not user.is_staff and not user.is_institution_admin %} - {% trans "Delete" %} - {% endif %} - | -
{% trans "Empty" %}
-{% endif %} - -{% endblock %} - -{% block extra_script %} - -{% endblock %}