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><img style="float: left; padding-right: 10px" src="[% uri_for_gravatar(Commit.committer.email, 40) %]">[% Commit.author.name | html %] <[% Commit.author.email %]><br/>
11 [% time_since(Commit.authored_time) %]</dd>
12 <dt style="clear: left">committer</dt>
13 <dd><img style="float: left; padding-right: 10px" src="[% uri_for_gravatar(Commit.committer.email, 40) %]">[% Commit.committer.name %] <[% Commit.committer.email %]><br/>
14 [% time_since(Commit.committed_time) %]</dd>
15 <dt style="clear: left">commit</dt>
16 <dd>[% Commit.sha1 %]</dd>
18 <dd>[% Commit.tree_sha1 %]
19 <span class='action-list'><a href="[% c.uri_for_action("/ref/tree", c.req.captures) %]">tree</a></span>
21 [% FOREACH parent IN Commit.parents %]
24 <span class='action-list'>
25 <a href="[% c.uri_for_action('/ref/commit', [Repository.name, parent.sha1]) %]">commit</a>
26 <a href="[% c.uri_for_action('/ref/diff_fancy', [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 && diff_tree.size > 0;
37 INCLUDE '_diff_tree.tt2';