mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 06:33:48 +00:00
Merge pull request #1417 from haiwen/broken-lib
[my libs] don't show operations for broken library
This commit is contained in:
@@ -44,9 +44,6 @@
|
||||
</td>
|
||||
<% if (name) { %>
|
||||
<td><span class="repo-name-span"><a href="#my-libs/lib/<%= id %>"><%- name %></a></span></td>
|
||||
<% } else { %>
|
||||
<td>{% trans "Broken (please contact your administrator to fix this library)" %}</td>
|
||||
<% } %>
|
||||
<td class="repo-op-td">
|
||||
<div class="op-container">
|
||||
<a href="#" class="sf2-icon-share sf2-x repo-share-btn op-icon vh" title="{% trans "Share" %}" aria-label="{% trans "Share" %}"></a>
|
||||
@@ -70,6 +67,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<% } else { %>
|
||||
<td>{% trans "Broken (please contact your administrator to fix this library)" %}</td>
|
||||
<td></td>
|
||||
<% } %>
|
||||
<td><%= size_formatted %></td>
|
||||
<td><%= mtime_relative %></td>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user