Moved header & footer logic into the templates.
[catagits/Gitalist.git] / root / tree.tt2
CommitLineData
61b56ed6 1[% INCLUDE 'nav/actions.tt2' object = commit %]
b3fa97cd 2
3<div class='commit-message'>
1fd8159c 4[% short_cmt(commit.comment) | html %] ...
b3fa97cd 5</div>
6
b4b4d0fd 7[% IF path -%]
8<div>
da8f4f82 9 <a href='[% c.uri_for("tree", {hb=commit.sha1}) %]'>[% Project.name %]</a>
b4b4d0fd 10 [% fullpath = ''-%]
11 [% FOREACH part IN path.split('/') -%]
f71a83ab 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' %]