Started the switch from hand-written URLs to uri_for.
[catagits/Gitalist.git] / templates / tree.tt2
CommitLineData
deb6344b 1[% INCLUDE 'nav/actions.tt2' object = commit %]
b3fa97cd 2
3<div class='commit-message'>
4[% commit.comment.substr(0, 85) %] ...
5</div>
6
b4b4d0fd 7[% IF path -%]
8<div>
9 <a href='/tree?p=[% project %];hb=[% commit.sha1 %]'>[% project %]</a>
10 [% fullpath = ''-%]
11 [% FOREACH part IN path.split('/') -%]
12 / <a href='/tree?p=[% project %];h=[% tree.sha1 %];hb=[% commit.sha1 %];f=[% fullpath _ part %]'>[% part %]</a>
13 [% fullpath = fullpath _ part _ '/'; %]
14 [% END -%]
15</div>
16[% END -%]
17
9dc3b9a5 18[% INCLUDE '_tree.tt2' %]