Started on making everything a bit less bleh.
[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>
4cb0a92e 9 <a href='[% c.uri_for("tree", {hb=commit.sha1}) %]'>[% project %]</a>
b4b4d0fd 10 [% fullpath = ''-%]
11 [% FOREACH part IN path.split('/') -%]
4cb0a92e 12 / <a href='[% c.uri_for("tree", {h=tree.sha1, hb=commit.sha1, f=fullpath _ part}) %]'>[% part %]</a>
b4b4d0fd 13 [% fullpath = fullpath _ part _ '/'; %]
14 [% END -%]
15</div>
16[% END -%]
17
9dc3b9a5 18[% INCLUDE '_tree.tt2' %]