From 975ccf793a5ba0b14f40306568b2e0dbb3995ca7 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Sun, 18 Jul 2004 22:39:49 +0000 Subject: Fix for bug 251898: Add function information to PatchReader output. Added support for the function strings included in unified and contextual diffs, which is included in PatchReader-0.9.5. r=jkeiser, a=justdave. --- template/en/default/attachment/diff-file.html.tmpl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'template') diff --git a/template/en/default/attachment/diff-file.html.tmpl b/template/en/default/attachment/diff-file.html.tmpl index ffd525db5..a25c1125a 100644 --- a/template/en/default/attachment/diff-file.html.tmpl +++ b/template/en/default/attachment/diff-file.html.tmpl @@ -24,7 +24,7 @@ # relations can change and screw up the javascript for restoring, collapsing # and expanding. Do not change without testing all three of those. #%] -
[% collapsed ? '(+)' : '(-)' %] + [% FOREACH group = section.groups %] [% IF group.context %] -- cgit v1.2.3-24-g4f1b
[% collapsed ? '(+)' : '(-)' %] [% IF lxr_prefix && !file.is_add %] [% file.filename FILTER html %] [% ELSE %] @@ -49,7 +49,9 @@ incremental_restore() [% section_num = 0 %] [% FOREACH section = sections %] [% section_num = section_num + 1 %] -
+
+ +
[% IF file.is_add %] Added [% ELSIF file.is_remove %] @@ -63,15 +65,19 @@ incremental_restore() [% END %] [% IF section.old_lines > 1 %] - Lines [% section.old_start %]-[% section.old_start + section.old_lines - 1 %] +  Lines [% section.old_start %]-[% section.old_start + + section.old_lines - 1 %] [% ELSE %] - Line [% section.old_start %] + Line [% section.old_start %] [% END %] [% IF bonsai_prefix %] [% END %] +   [% section.func_info FILTER html IF section.func_info %] [% END %] - (Link Here) + + Link Here  +