1 [% INCLUDE 'nav/actions.tt2' object = commit %]
3 <div class='commit-message'>
4 [% commit.comment.substr(0, 85) %] ...
5 [% FOREACH ref IN branches_on %]
6 <span class='refs'><a href='[% c.uri_for("shortlog", {h=commit.sha1, hb=ref}) %]'>[% ref %]</a></span>
10 <dl class='commit-info'>
12 <dd>[% commit.author.name | html %] <[% commit.author.email %]><br/>
13 [% commit.authored_time %]</dd>
15 <dd>[% commit.committer.name %] <[% commit.committer.email %]><br/>
16 [% commit.committed_time %]</dd>
18 <dd>[% commit.sha1 %]</dd>
20 <dd>[% commit.tree_sha1 %]
21 <span class='action-list'><a href="[% c.uri_for("tree", {h=commit.tree_sha1, hb=commit.sha1}) %]">tree</a></span>
23 [% FOREACH parent IN commit.parents %]
26 <span class='action-list'>
27 <a href="[% c.uri_for("commit", {h=parent}) %]">commit</a>
28 <a href="[% c.uri_for("commitdiff", {hp=parent, h=commit.sha1}) %]">diff</a>
34 <pre class='commit-message'>[% commit.comment %]</pre>
37 # In the case of merge commits there will be no diff tree.
38 IF diff_tree.size > 0;
39 INCLUDE '_diff_tree.tt2';