branch <%= it.branch %>
<% if (it.path && it.path !== "/") { %> (top)<% const pathParts = it.path.split('/').filter(p => p); let currentPath = ''; for (let i = 0; i < pathParts.length; i++) { const part = pathParts[i]; currentPath += (currentPath ? '/' : '') + part; const isLast = i === pathParts.length - 1; if (isLast) { %>/<%= part %><%= it.isTree ? "/" : "" %><% } else { %>/<%= part %><% } } %> <% } %>