diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index e61dc61c5a..5630a8f8ce 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -36,8 +36,8 @@ <%- name %>
- - + +
<%= size_formatted %> @@ -58,7 +58,7 @@ <%- name %> <% if (app.pageOptions.isGroupStaff) { %> - + <% } %> <%= size_formatted %> @@ -80,7 +80,7 @@ <%- name %> <% if (show_unshare_btn) { %> - + <% } %> <%- size_formatted %> @@ -132,16 +132,18 @@ <% } %> - <% if (path != '/' && !encrypted) { %> + <% if (!encrypted) { %> <% } %> + <% if (path == '/') { %> <% if (user_perm == 'rw') { %> <% } %> - <% if (is_repo_owner == true) { %> + <% if (is_repo_owner) { %> <% } %> + <% } %>