Only 2 of the pages in the app test now generate invalid links.
[catagits/Gitalist.git] / root / nav / path.tt2
1 <div class='path'>
2  <a href="[% c.uri_for_action("/commit/tree", [Repository.name, head.sha1]) %]">[% Repository.name %]</a>
3  [% FOREACH part IN filename.split('/') %]
4   [% path = loop.first ? part : path _ '/' _ part %]
5   / <a href="[% c.uri_for_action(loop.last ? '/commit/blob' : '/commit/tree', [Repository.name, head.sha1], path.to_path) %]">[% part %]</a>
6  [% END %]
7 </div>