From 94ffb7a9fb63cf16805b7c627d1914b499960088 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 16 Oct 2014 18:14:49 +0200 Subject: Bug 1068494: Remove CVS/Bonsai/LXR-specific bits of Patch Viewer r=gerv a=glob --- template/en/default/attachment/diff-file.html.tmpl | 18 ++----------- .../en/default/attachment/diff-header.html.tmpl | 30 +--------------------- 2 files changed, 3 insertions(+), 45 deletions(-) (limited to 'template/en/default/attachment') diff --git a/template/en/default/attachment/diff-file.html.tmpl b/template/en/default/attachment/diff-file.html.tmpl index 38c51725b..af99761a6 100644 --- a/template/en/default/attachment/diff-file.html.tmpl +++ b/template/en/default/attachment/diff-file.html.tmpl @@ -19,11 +19,7 @@ onclick="return twisty_click(this)">[% collapsed ? '(+)' : '(-)' %] - [% IF lxr_prefix && !file.is_add %] - [% file.filename FILTER html %] - [% ELSE %] - [% file.filename FILTER html %] - [% END %] + [% file.filename FILTER html %] [% IF file.plus_lines %] [% IF file.minus_lines %] (-[% file.minus_lines %] / +[% file.plus_lines %] lines) @@ -49,23 +45,13 @@ incremental_restore() [% IF file.is_add %] Added [% ELSIF file.is_remove %] - [% IF bonsai_prefix %] - Removed - [% ELSE %] - Removed - [% END %] + Removed [% ELSE %] - [% IF bonsai_prefix %] - - [% END %] [% IF section.old_lines > 1 %] Lines [% section.old_start %]-[% section.old_start + section.old_lines - 1 %] [% ELSE %] Line [% section.old_start %] [% END %] - [% IF bonsai_prefix %] - - [% END %] [%+ section.func_info FILTER html IF section.func_info %] [% END %] diff --git a/template/en/default/attachment/diff-header.html.tmpl b/template/en/default/attachment/diff-header.html.tmpl index 3d491fa4e..2a32de974 100644 --- a/template/en/default/attachment/diff-header.html.tmpl +++ b/template/en/default/attachment/diff-header.html.tmpl @@ -60,8 +60,7 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %] [% IF headers %] View | Details - | Raw Unified | Return to [% "$terms.bug $bugid" FILTER bug_link(bugid) FILTER none %] [% END %] @@ -102,33 +101,6 @@ Interdiff of #[% oldid %] and #[% newid %] for [% terms.bug %] #[% bugid %] onmouseout="window.status = lastStatus; return true" onclick="return expand_all()">Expand All -[% IF do_context %] - [%# only happens for normal viewing, not interdiff %] - | Context: - [% IF context == "patch" %] - (Patch / - [% ELSE %] - (Patch / - [% END %] - [% IF context == "file" %] - File / - [% ELSE %] - File / - [% END %] - - [% IF context == "patch" || context == "file" %] - [% context = 3 %] - [% END %] - [%# textbox for context %] -
- - - - - -
) -[% END %] - [% IF warning %]

Warning: -- cgit v1.2.3-24-g4f1b