1 <h2>[% diff_tree.size %] file[% "s" IF diff_tree.size > 1 %] in this diff <span>([%- Commit.sha1 || HEAD -%])</span></h2>
3 <table class='diff-tree listing'>
12 [% FOREACH line IN diff_tree -%]
14 <td class='file-name'>
15 <a href="#diff[% loop.count %]">[% line.file %]</a>
21 '[moved from ' _ line.src _ ' with ' _ line.sim _ '% similarity]';
23 '[new file with mode: ' _ line.modedst _ ']';
29 <td class='action-list'>
30 [% IF !line.is_new %]<a href="[% c.uri_for_action("/ref/diff_fancy", [Repository.name, Commit.sha1], line.file.to_path) %]" title="Difference" class="button diff">diff</a>[% END %]
31 [% IF !line.is_new %]<a href="[% c.uri_for_action("/ref/history", [Repository.name, Commit.sha1], line.file.to_path) %]" title="History (Short Log)" class="button history">history</a>[% END %]
32 <a href="[% c.uri_for_action("/ref/blob", [Repository.name, Commit.sha1], line.file.to_path) %]" title="Blob" class="button blob">blob</a>