diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2014-10-16 18:14:49 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2014-10-16 18:14:49 +0200 |
commit | 94ffb7a9fb63cf16805b7c627d1914b499960088 (patch) | |
tree | 188ac1e453a818cd9e906e53cbb1d23df8d360f2 /template/en/default/attachment/diff-header.html.tmpl | |
parent | 7ce5b04d20684101748812cf2bd5e7d6275bd5e7 (diff) | |
download | bugzilla-94ffb7a9fb63cf16805b7c627d1914b499960088.tar.gz bugzilla-94ffb7a9fb63cf16805b7c627d1914b499960088.tar.xz |
Bug 1068494: Remove CVS/Bonsai/LXR-specific bits of Patch Viewer
r=gerv a=glob
Diffstat (limited to 'template/en/default/attachment/diff-header.html.tmpl')
-rw-r--r-- | template/en/default/attachment/diff-header.html.tmpl | 30 |
1 files changed, 1 insertions, 29 deletions
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 %] <a href="[% PROCESS viewurl id=attachid %]">View</a> | <a href="[% PROCESS editurl id=attachid %]">Details</a> - | <a href="[% PROCESS diffurl id=attachid %]&context=[% - context FILTER uri %]&collapsed=[% collapsed FILTER uri %]&headers=[% + | <a href="[% PROCESS diffurl id=attachid %]&collapsed=[% collapsed FILTER uri %]&headers=[% headers FILTER uri %]&format=raw">Raw Unified</a> | 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</a> -[% IF do_context %] - [%# only happens for normal viewing, not interdiff %] - | <strong>Context:</strong> - [% IF context == "patch" %] - (<strong>Patch</strong> / - [% ELSE %] - (<a href="[% PROCESS diffurl id=attachid %]&headers=[% headers FILTER uri %]">Patch</a> / - [% END %] - [% IF context == "file" %] - <strong>File</strong> / - [% ELSE %] - <a href="[% PROCESS diffurl id=attachid %]&headers=[% headers FILTER uri %]&context=file">File</a> / - [% END %] - - [% IF context == "patch" || context == "file" %] - [% context = 3 %] - [% END %] - [%# textbox for context %] - <form class="inline" action="attachment.cgi"> - <input type="hidden" name="action" value="diff"> - <input type="hidden" name="id" value="[% attachid %]"> - <input type="hidden" name="collapsed" value="[% collapsed FILTER html %]"> - <input type="hidden" name="headers" value="[% headers FILTER html %]"> - <input type="text" name="context" value="[% context FILTER html %]" size="3"> - </form>) -[% END %] - [% IF warning %] <h2 class="warning"> Warning: |