Commit | Line | Data |
61b56ed6 |
1 | [% PROCESS 'nav/actions.tt2' object = commit %] |
2247133f |
2 | |
3 | <div class='commit-message'> |
1fd8159c |
4 | [% # XXX Wah, stuff like this doesn't work because end() isn't called as we forward to View::SyntaxHighlight |
5 | short_cmt(commit.comment) | html %] |
2247133f |
6 | </div> |
7 | |
8 | <div class='author'> |
9 | [% commit.author.name | html %] [[% commit.authored_time %]] |
10 | </div> |
11 | |
2247133f |
12 | |
ad8884fc |
13 | [% |
14 | # In the case of merge commits there will be no diff tree. |
15 | IF diff_tree.size > 0; |
16 | INCLUDE '_diff_tree.tt2'; |
17 | END; |
18 | IF diff.size > 0; |
19 | INCLUDE '_diff.tt2'; |
20 | ELSE |
21 | %] |
22 | <div class='no-difference'> |
23 | [% |
24 | IF commit.parents > 1; |
25 | 'Trivial merge'; |
26 | ELSE; |
27 | 'No differences found'; |
28 | END; |
29 | %] |
30 | </div> |
31 | [% END %] |