Commit | Line | Data |
61b56ed6 |
1 | [% INCLUDE 'nav/actions.tt2' object = commit %] |
2247133f |
2 | |
b3ad9e63 |
3 | <div class='commit-message'> |
47495599 |
4 | [% commit.comment.substr(0, 85) %] ... |
790ce598 |
5 | [% FOREACH ref IN branches_on %] |
f71a83ab |
6 | <span class='refs'><a href='[% c.uri_for("shortlog", {h=commit.sha1, hb=ref}) %]'>[% ref %]</a></span> |
1ef8dc7d |
7 | [% END %] |
8 | </div> |
9 | |
b3ad9e63 |
10 | <dl class='commit-info'> |
1ef8dc7d |
11 | <dt>author</dt> |
2247133f |
12 | <dd>[% commit.author.name | html %] <[% commit.author.email %]><br/> |
1ef8dc7d |
13 | [% commit.authored_time %]</dd> |
14 | <dt>committer</dt> |
15 | <dd>[% commit.committer.name %] <[% commit.committer.email %]><br/> |
16 | [% commit.committed_time %]</dd> |
17 | <dt>commit</dt> |
18 | <dd>[% commit.sha1 %]</dd> |
19 | <dt>tree</dt> |
b4b4d0fd |
20 | <dd>[% commit.tree_sha1 %] |
f71a83ab |
21 | <span class='action-list'><a href="[% c.uri_for("tree", {h=commit.tree_sha1, hb=commit.sha1}) %]">tree</a></span> |
b4b4d0fd |
22 | </dd> |
1ef8dc7d |
23 | [% FOREACH parent IN commit.parents %] |
24 | <dt>parent</dt> |
ad8884fc |
25 | <dd>[% parent %] |
26 | <span class='action-list'> |
f71a83ab |
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> |
ad8884fc |
29 | </span> |
30 | </dd> |
1ef8dc7d |
31 | [% END %] |
32 | </dl> |
33 | |
c8870bd3 |
34 | <pre class='commit-message'>[% commit.comment %]</pre> |
b3ad9e63 |
35 | |
ad8884fc |
36 | [% |
37 | # In the case of merge commits there will be no diff tree. |
38 | IF diff_tree.size > 0; |
39 | INCLUDE '_diff_tree.tt2'; |
40 | END; |
41 | %] |