1 <div class='commit-message'>
3 short_cmt(Commit.comment) | html;
4 INCLUDE '_refs.tt2' object = commit;
7 <!-- [% USE dumper; dumper.dump(commit.parents) %] -->
8 <dl class='commit-info'>
10 <dd>[% Commit.author.name | html %] <[% Commit.author.email %]><br/>
11 [% Commit.authored_time %]</dd>
13 <dd>[% Commit.committer.name %] <[% Commit.committer.email %]><br/>
14 [% Commit.committed_time %]</dd>
16 <dd>[% Commit.sha1 %]</dd>
18 <dd>[% Commit.tree_sha1 %]
19 <span class='action-list'><a href="[% c.uri_for(c.controller.action_for("tree"), c.req.captureargs) %]">tree</a></span>
21 [% FOREACH parent IN Commit.parents %]
24 <span class='action-list'>
25 <a href="[% c.uri_for(c.action, [Repository.name, parent.sha1]) %]">commit</a>
26 <a href="[% c.uri_for(c.controller.action_for('diff'), [Repository.name, parent.sha1]) %]">diff</a>
32 <pre class='commit-message'>[% Commit.comment | html%]</pre>
35 # In the case of merge commits there will be no diff tree.
36 IF diff_tree.size > 0;
37 INCLUDE '_diff_tree.tt2';