diff --git a/seahub/templates/js/admin-common-templates.html b/seahub/templates/js/admin-common-templates.html new file mode 100644 index 0000000000..1de5fce527 --- /dev/null +++ b/seahub/templates/js/admin-common-templates.html @@ -0,0 +1,223 @@ +{% load avatar_tags i18n %} + + + + + + + +{# address book #} + + + + + + + + diff --git a/seahub/templates/js/orgadmin-templates.html b/seahub/templates/js/orgadmin-templates.html new file mode 100644 index 0000000000..f00b5050e1 --- /dev/null +++ b/seahub/templates/js/orgadmin-templates.html @@ -0,0 +1,30 @@ +{% load avatar_tags i18n %} + + diff --git a/seahub/templates/js/sysadmin-templates.html b/seahub/templates/js/sysadmin-templates.html index 29f84019cb..da8574e486 100644 --- a/seahub/templates/js/sysadmin-templates.html +++ b/seahub/templates/js/sysadmin-templates.html @@ -314,25 +314,6 @@ {% include "trusted_ip/sysadmin-templates_trusted_ip.html" %} - - - - - - - -{# address book #} - - - - - - - - diff --git a/seahub/templates/sysadmin/sysadmin_backbone.html b/seahub/templates/sysadmin/sysadmin_backbone.html index 1912e336be..faf48381c3 100644 --- a/seahub/templates/sysadmin/sysadmin_backbone.html +++ b/seahub/templates/sysadmin/sysadmin_backbone.html @@ -71,7 +71,9 @@ {% include 'js/common-templates.html' %} {% include 'js/sysadmin-templates.html' %} -{% include "js/lib-op-popups.html" %} +{% include 'js/admin-common-templates.html' %} {# for sys admin & org admin #} +{% include 'js/lib-op-popups.html' %} +