[% INCLUDE 'commit-nav.tt2' object = commit %]
+
<div class='commit-message'>
[% commit.comment.substr(0, 85) %] ...
[% FOREACH ref IN branches_on %]
<dl class='commit-info'>
<dt>author</dt>
- <dd>[% commit.author.name %] <[% commit.author.email %]><br/>
+ <dd>[% commit.author.name | html %] <[% commit.author.email %]><br/>
[% commit.authored_time %]</dd>
<dt>committer</dt>
<dd>[% commit.committer.name %] <[% commit.committer.email %]><br/>
<pre class='commit-message'>[% commit.comment %]</pre>
-<table class='diff-tree'>
- <thead>
- <tr>
- <td>file</td>
- <td>actions</td>
- </tr>
- </thead>
- <tbody>
- [% FOREACH line IN diff_tree %]
- <tr>
- <td class='filename'>[% line.src %]</td>
- <td class='action-list'>
- [% IF !line.is_new %]<a href="/blobdiff?p=[% project %];f=[% line.file %];h=[% line.sha1dst %];hp=[% sha1src %]">diff</a>[% END %]
- <a href="/blob?p=[% project %];f=[% line.file %];h=[% line.sha1 %];hb=[% commit.sha1 %]">blob</a>
- [% IF !line.is_new %]<a href="/log?p=[% project %];f=[% line.file %];hb[% commit.sha1 %]=">history</a>[% END %]
- </td>
- </tr>
- [% END %]
- </tbody>
- <tfoot>
- <tr>
- <td>file</td>
- <td>actions</td>
- </tr>
- </tfoot>
-</table>
+[% INCLUDE '_diff_tree.tt2' %]
<!--