##// END OF EJS Templates
svn: show empty dirs nicer
dan -
r3941:d82329b8 default
parent child Browse files
Show More
@@ -19,13 +19,14 b''
19 <tbody id="tbody">
19 <tbody id="tbody">
20 <tr>
20 <tr>
21 <td colspan="5">
21 <td colspan="5">
22
23 ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path, request.GET.get('at'), limit_items=True)}
22 ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path, request.GET.get('at'), limit_items=True)}
24
25 </td>
23 </td>
26 </tr>
24 </tr>
27 %for cnt,node in enumerate(c.file):
25
28 <tr class="parity${cnt%2}">
26 <% has_files = False %>
27 % for cnt,node in enumerate(c.file):
28 <% has_files = True %>
29 <tr class="parity${(cnt % 2)}">
29 <td class="td-componentname">
30 <td class="td-componentname">
30 % if node.is_submodule():
31 % if node.is_submodule():
31 <span class="submodule-dir">
32 <span class="submodule-dir">
@@ -76,7 +77,17 b''
76 <td></td>
77 <td></td>
77 %endif
78 %endif
78 </tr>
79 </tr>
79 %endfor
80 % endfor
81
82 % if not has_files:
83 <tr>
84 <td colspan="5">
85 ##empty-dir mostly SVN
86 &nbsp;
87 </td>
88 </tr>
89 % endif
90
80 </tbody>
91 </tbody>
81 <tbody id="tbody_filtered"></tbody>
92 <tbody id="tbody_filtered"></tbody>
82 </table>
93 </table>
General Comments 0
You need to be logged in to leave comments. Login now