diff --git a/seahub/templates/sysadmin/sys_org_info.html b/seahub/templates/sysadmin/sys_org_info.html deleted file mode 100644 index 21f929a0a9..0000000000 --- a/seahub/templates/sysadmin/sys_org_info.html +++ /dev/null @@ -1,240 +0,0 @@ -{% extends "admin_base.html" %} -{% load i18n avatar_tags seahub_tags group_avatar_tags %} -{% load url from future %} - -{% block nav_orgadmin_class %}class="cur"{% endblock %} - -{% block extra_style %} - -{% endblock %} - -{% block left_panel %} - -
-

{{ org.org_name }}

-
-
{% trans "Number of members" %}
-
{{ users_count }}
-
{% trans "Number of groups" %}
-
{{ groups_count }}
-
- -

{% trans "Space Used" %}

-

{{ quota_usage|filesizeformat }} {% if total_quota > 0 %}/ {{ total_quota|filesizeformat }} {% endif %}

- {% trans "Set Quota" %} -
-
{% csrf_token %} -

{% trans "Set org storage limit" %}

- - MB -

{% trans "Tip: 0 means default limit" %}

-

- -
-{% endblock %} - -{% block right_panel %} -
-
- -
- -
- - - - - - - - - - {% for user in users %} - - - - - - - - {% endfor %} -
{% trans "Email" %}{% trans "Status" %}{% trans "Space Used" %}{% trans "Create At / Last Login" %}{% trans "Operations" %}
{{ user.email }} -
- {% if user.is_active %} - {% trans "Active" %} - {% else %} - {% trans "Inactive" %} - {% endif %} - {% trans -
- -
- {% if CALC_SHARE_USAGE %} - {{ user.self_usage|filesizeformat }} + {{ user.share_usage|filesizeformat }} {% if user.quota > 0 %} / {{ user.quota|filesizeformat }} {% endif %} - {% else %} - {{ user.self_usage|filesizeformat }} {% if user.quota > 0 %} / {{ user.quota|filesizeformat }} {% endif %} - {% endif %} - - {{ user.ctime|tsstr_sec }} / {% if user.last_login %}{{user.last_login|translate_seahub_time}} {% else %} -- {% endif %} - - {% if not user.is_self %} - {% trans "Delete" %} - {% trans "ResetPwd" %} - {% endif %} -
-
- -
- {% if groups %} - - - - - - - - {% for group in groups %} - - - - - - - {% endfor %} -
{% trans "Name" %}{% trans "Creator" %}{% trans "Create At" %}{% trans "Operations" %}
{{ group.group_name }}{{ group.creator_name }}{{ group.timestamp|tsstr_sec }}{% trans "Delete" %}
- {% else %} -

{% trans "None" %}

- {% endif %} -
-
-
-

{% trans "Activating..., please wait" %}

-
-{% endblock %} - -{% block extra_script %} - -{% endblock %} diff --git a/seahub/templates/sysadmin/sys_org_info_base.html b/seahub/templates/sysadmin/sys_org_info_base.html new file mode 100644 index 0000000000..deb7fb84f8 --- /dev/null +++ b/seahub/templates/sysadmin/sys_org_info_base.html @@ -0,0 +1,39 @@ +{% extends "admin_base.html" %} +{% load i18n seahub_tags %} +{% load url from future %} + +{% block nav_orgadmin_class %}class="cur"{% endblock %} + +{% block extra_style %} + +{% endblock %} + +{% block left_panel %} + +
+

{{ org.org_name }}

+
+
{% trans "Number of members" %}
+
{{ users_count }}
+
{% trans "Number of groups" %}
+
{{ groups_count }}
+
+ +

{% trans "Space Used" %}

+

{{ quota_usage|filesizeformat }} {% if total_quota > 0 %}/ {{ total_quota|filesizeformat }} {% endif %}

+ {% trans "Set Quota" %} +
+
{% csrf_token %} +

{% trans "Set org storage limit" %}

+ + MB +

{% trans "Tip: 0 means default limit" %}

+

+ +
+{% endblock %}