Moved header & footer logic into the templates.
[catagits/Gitalist.git] / root / tree.tt2
1 [% INCLUDE 'nav/actions.tt2' object = commit %]
2
3 <div class='commit-message'>
4 [% short_cmt(commit.comment) | html %] ...
5 </div>
6
7 [% IF path -%]
8 <div>
9  <a href='[% c.uri_for("tree", {hb=commit.sha1}) %]'>[% Project.name %]</a>
10  [% fullpath = ''-%]
11  [% FOREACH part IN path.split('/') -%]
12  / <a href='[% c.uri_for("tree", {h=tree.sha1, hb=commit.sha1, f=fullpath _ part}) %]'>[% part %]</a>
13  [% fullpath = fullpath _ part _ '/'; %]
14  [% END -%]
15 </div>
16 [% END -%]
17
18 [% INCLUDE '_tree.tt2' %]