--- /dev/null
+<div class='commit-message'>
+ [%
+ short_cmt(Commit.comment) | html;
+ INCLUDE '_refs.tt2' object = commit;
+ %]
+ </div>
+ <!-- [% USE dumper; dumper.dump(commit.parents) %] -->
+ <dl class='commit-info'>
+ <dt>author</dt>
+ <dd>[% Commit.author.name | html %] <[% Commit.author.email %]><br/>
+ [% Commit.authored_time %]</dd>
+ <dt>committer</dt>
+ <dd>[% Commit.committer.name %] <[% Commit.committer.email %]><br/>
+ [% Commit.committed_time %]</dd>
+ <dt>commit</dt>
+ <dd>[% Commit.sha1 %]</dd>
+ <dt>tree</dt>
+ <dd>[% Commit.tree_sha1 %]
+ <span class='action-list'><a href="[% c.uri_for(c.controller.action_for("tree"), c.req.captureargs) %]">tree</a></span>
+ </dd>
+ [% FOREACH parent IN Commit.parents %]
+ <dt>parent</dt>
+ <dd>[% parent.sha1 %]
+ <span class='action-list'>
+ <a href="[% c.uri_for(c.action, [Repository.name, parent.sha1]) %]">commit</a>
+ <a href="[% c.uri_for(c.controller.action_for('diff'), [Repository.name, parent.sha1]) %]">diff</a>
+ </span>
+ </dd>
+ [% END %]
+ </dl>
+
+ <pre class='commit-message'>[% Commit.comment | html%]</pre>
+
+ [%
+ # In the case of merge commits there will be no diff tree.
+ IF diff_tree.size > 0;
+ INCLUDE '_diff_tree.tt2';
+ END;
+ %]
\ No newline at end of file