1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

Fix a bug in device-item template

This commit is contained in:
Daniel Pan
2016-03-31 17:03:58 +08:00
parent 67a10ee4ce
commit e2095c469c

View File

@@ -1399,9 +1399,8 @@
<td>
<% if (synced_repos.length > 0) { %>
<div class="dropdown js-dropdown">
<span class="js-dropdown-toggle cspt"><%- synced_repos_length %> <span class="icon-caret-down"></span></span>
<div class="device-libs-dropdown-menu dropdown-menu js-dropdown-content hide">
<ul>
<span class="js-dropdown-toggle cspt"><%- synced_repos_length %> <span class="icon-caret-down"></span></span>
<ul class="device-libs-dropdown-menu dropdown-menu js-dropdown-content hide">
<% for (var i = 0, len = synced_repos_length; i < len; i++) { %>
<li><a href="#common/lib/<%- synced_repos[i].repo_id %>"><%- synced_repos[i].repo_name %></a></li>
<% } %>