% if not dirname.raw:
% reltree = './'
% else:
% reltree = '../' * (len(dirname.split('/')) - 1)
% end
% relroot = reltree + '../' * (len(branch.split('/')) - 1)
git » {{repo.name}} »
{{branch}} » {{dirname.unicode if dirname.unicode else '/'}}
[{{branch}}] /
% base = smstr(reltree)
% for c in dirname.split('/'):
% if not c.raw:
% continue
% end
{{c.unicode}} /
% base += c + '/'
% end
% key_func = lambda (t, n, s): (t != 'tree', n.raw)
% for type, name, size in sorted(tree.ls(dirname.raw), key = key_func):
% if type == "blob":
{{!name.html}} |
{{size}} |
% elif type == "tree":
{{!name.html}}/ |
% end
% end