From d612ec360ccd3733ee0a9f416d874cecfcd2d70b Mon Sep 17 00:00:00 2001 From: llj Date: Fri, 3 Apr 2015 15:22:24 +0800 Subject: [PATCH] modified lib op icons & dir op bar --- seahub/templates/js/templates.html | 20 +++++++++++--------- static/scripts/app/views/dir.js | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) 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) { %> <% } %> + <% } %>