From 3a66b713ace03a5787f176d67e001ad2ea1d0bef Mon Sep 17 00:00:00 2001 From: llj Date: Thu, 8 Dec 2016 16:02:42 +0800 Subject: [PATCH] [my libs] don't show operations for broken library --- seahub/templates/js/templates.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index 99ca700aa9..fec5d2ee80 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -44,9 +44,6 @@ <% if (name) { %> <%- name %> - <% } else { %> - {% trans "Broken (please contact your administrator to fix this library)" %} - <% } %>
@@ -70,6 +67,10 @@
+ <% } else { %> + {% trans "Broken (please contact your administrator to fix this library)" %} + + <% } %> <%= size_formatted %> <%= mtime_relative %>