Commit | Line | Data |
---|---|---|
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> |