Commit | Line | Data |
2247133f |
1 | [% PROCESS 'commit-nav.tt2' object = commit %] |
2 | |
3 | <div class='commit-message'> |
4 | [% commit.comment.substr(0, 85) %] ... |
5 | </div> |
6 | |
7 | <div class='author'> |
8 | [% commit.author.name | html %] [[% commit.authored_time %]] |
9 | </div> |
10 | |
2247133f |
11 | |
ad8884fc |
12 | [% |
13 | # In the case of merge commits there will be no diff tree. |
14 | IF diff_tree.size > 0; |
15 | INCLUDE '_diff_tree.tt2'; |
16 | END; |
17 | IF diff.size > 0; |
18 | INCLUDE '_diff.tt2'; |
19 | ELSE |
20 | %] |
21 | <div class='no-difference'> |
22 | [% |
23 | IF commit.parents > 1; |
24 | 'Trivial merge'; |
25 | ELSE; |
26 | 'No differences found'; |
27 | END; |
28 | %] |
29 | </div> |
30 | [% END %] |