mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
Fix a bug in device-item template
This commit is contained in:
@@ -1399,9 +1399,8 @@
|
|||||||
<td>
|
<td>
|
||||||
<% if (synced_repos.length > 0) { %>
|
<% if (synced_repos.length > 0) { %>
|
||||||
<div class="dropdown js-dropdown">
|
<div class="dropdown js-dropdown">
|
||||||
<span class="js-dropdown-toggle cspt"><%- synced_repos_length %> <span class="icon-caret-down"></span></span>
|
<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 class="device-libs-dropdown-menu dropdown-menu js-dropdown-content hide">
|
||||||
<ul>
|
|
||||||
<% for (var i = 0, len = synced_repos_length; i < len; i++) { %>
|
<% 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>
|
<li><a href="#common/lib/<%- synced_repos[i].repo_id %>"><%- synced_repos[i].repo_name %></a></li>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
Reference in New Issue
Block a user