4419028a2d97e1e95991c917c92c7fc6f8be63e5
[catagits/Gitalist.git] / templates / tree.tt2
1 [% INCLUDE 'nav/actions.tt2' object = commit %]
2
3 <div class='commit-message'>
4 [% commit.comment.substr(0, 85) %] ...
5 </div>
6
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
18 [% INCLUDE '_tree.tt2' %]