diff --git a/seahub/api2/endpoints/admin/trash_libraries.py b/seahub/api2/endpoints/admin/trash_libraries.py index 2988fb5128..25293c1b30 100644 --- a/seahub/api2/endpoints/admin/trash_libraries.py +++ b/seahub/api2/endpoints/admin/trash_libraries.py @@ -32,11 +32,9 @@ class AdminTrashLibraries(APIView): search_owner = request.GET.get('owner', '') if search_owner and is_valid_username(search_owner): repos = seafile_api.get_trash_repos_by_owner(search_owner) - print 'by owner' else: repos = seafile_api.get_trash_repo_list(-1, -1) search_owner = '' - print 'all' return_repos = [] for repo in repos: diff --git a/seahub/templates/js/sysadmin-templates.html b/seahub/templates/js/sysadmin-templates.html index 0592d88e29..8c9497e0fd 100644 --- a/seahub/templates/js/sysadmin-templates.html +++ b/seahub/templates/js/sysadmin-templates.html @@ -288,10 +288,10 @@ {% trans "Name" %} - {% trans "Files / Size" %} ID {% trans "Owner" %} + @@ -320,10 +320,10 @@ {% trans "Name" %} - {% trans "Files / Size" %} ID {% trans "Owner" %} + @@ -348,10 +348,6 @@ <% } else { %> -- <% } %> - - - - <%= file_count %> / <%= size_formatted %> <%= id %> @@ -361,6 +357,10 @@ -- <% } %> + + + +