##// 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 19 <tbody id="tbody">
20 20 <tr>
21 21 <td colspan="5">
22
23 22 ${h.files_breadcrumbs(c.repo_name,c.commit.raw_id,c.file.path, request.GET.get('at'), limit_items=True)}
24
25 23 </td>
26 24 </tr>
27 %for cnt,node in enumerate(c.file):
28 <tr class="parity${cnt%2}">
25
26 <% has_files = False %>
27 % for cnt,node in enumerate(c.file):
28 <% has_files = True %>
29 <tr class="parity${(cnt % 2)}">
29 30 <td class="td-componentname">
30 31 % if node.is_submodule():
31 32 <span class="submodule-dir">
@@ -76,7 +77,17 b''
76 77 <td></td>
77 78 %endif
78 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 91 </tbody>
81 92 <tbody id="tbody_filtered"></tbody>
82 93 </table>
General Comments 0
You need to be logged in to leave comments. Login now