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