|
|
@ -27,21 +27,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
<div class="autoscroll">
|
|
|
|
<div class="autoscroll">
|
|
|
|
<table class="list" style="width: 100%;table-layout: fixed">
|
|
|
|
<table class="list" style="width: 100%;table-layout: fixed">
|
|
|
|
<thead><tr>
|
|
|
|
<thead>
|
|
|
|
<th>
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<th style="width: 30px;">
|
|
|
|
|
|
|
|
序号
|
|
|
|
|
|
|
|
</th>
|
|
|
|
|
|
|
|
<th style="width: 120px;">
|
|
|
|
<%=l(:label_project)%>
|
|
|
|
<%=l(:label_project)%>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th style="width: 20px;">
|
|
|
|
<%=l(:field_is_public)%>
|
|
|
|
<%=l(:field_is_public)%>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th style="width: 30px;">
|
|
|
|
<%=l(:field_created_on)%>
|
|
|
|
<%=l(:field_created_on)%>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th></th>
|
|
|
|
<th style="width: 70px;"></th>
|
|
|
|
</tr></thead>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<% project_tree(@projects) do |project, level| %>
|
|
|
|
<% project_tree(@projects) do |project, level| %>
|
|
|
|
<tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
|
|
|
|
<tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
|
|
|
|
|
|
|
|
<td style="text-align: center;">
|
|
|
|
|
|
|
|
<%= project.id %>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="name" title='<%=project.name%>'>
|
|
|
|
<td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" class="name" title='<%=project.name%>'>
|
|
|
|
<span>
|
|
|
|
<span>
|
|
|
|
<%= link_to_project_settings(project, {}) %>
|
|
|
|
<%= link_to_project_settings(project, {}) %>
|
|
|
|