Bug 181047 - Change non-output templates to have a ctype of "none". Patch by gerv; r=bbaetz, a=justdave.

This commit is contained in:
gerv%gerv.net 2003-01-06 07:56:28 +00:00
Родитель 2e61d411dd
Коммит 218c08dc2b
14 изменённых файлов: 72 добавлений и 12 удалений

Просмотреть файл

@ -39,7 +39,7 @@
#%] #%]
[% # use the global field descs %] [% # use the global field descs %]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% IF matchsuccess == 1 %] [% IF matchsuccess == 1 %]
[% PROCESS global/header.html.tmpl title="Confirm Match" %] [% PROCESS global/header.html.tmpl title="Confirm Match" %]

Просмотреть файл

Просмотреть файл

@ -0,0 +1,60 @@
[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Bugzilla Bug Tracking System.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
#%]
[%# Remember to PROCESS rather than INCLUDE this template. %]
[% field_descs = { "[Bug creation]" => "[Bug creation]",
"alias" => "Alias",
"assigned_to" => "Assignee",
"bug_file_loc" => "URL",
"bug_id" => "Bug ID",
"bug_severity" => "Severity",
"bug_status" => "Status",
"changeddate" => "Last Changed Date",
"cc" => "CC",
"cclist_accessible" => "CC list accessible?",
"component_id" => "Component ID",
"component" => "Component",
"creation_ts" => "Bug Creation time",
"delta_ts" => "Last Changed time",
"estimated_time" => "Orig. Est.",
"everconfirmed" => "Ever confirmed?",
"groupset" => "Groupset",
"keywords" => "Keywords",
"newcc" => "CC",
"op_sys" => "OS",
"opendate" => "Open Date",
"percentage_complete" => "%Complete",
"priority" => "Priority",
"product_id" => "Product ID",
"product" => "Product",
"qa_contact" => "QA Contact",
"remaining_time" => "Hours Left",
"rep_platform" => "Hardware",
"reporter" => "Reporter",
"reporter_accessible" => "Reporter accessible?",
"resolution" => "Resolution",
"short_desc" => "Summary",
"status_whiteboard" => "Whiteboard",
"target_milestone" => "Target Milestone",
"version" => "Version",
"votes" => "Votes",
"work_time" => "Hours Worked"} %]

Просмотреть файл

@ -29,7 +29,7 @@
# alphabetical order by error tag, and leave a blank line between errors. # alphabetical order by error tag, and leave a blank line between errors.
#%] #%]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% DEFAULT title = "Error" %] [% DEFAULT title = "Error" %]

Просмотреть файл

@ -28,7 +28,7 @@
this feature requires cookies to work. this feature requires cookies to work.
</p> </p>
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% field_descs.short_short_desc = "Summary (first 60 characters)" %] [% field_descs.short_short_desc = "Summary (first 60 characters)" %]
[% field_descs.short_desc = "Full Summary" %] [% field_descs.short_desc = "Full Summary" %]
[% field_descs.assigned_to_realname = "Assignee Realname" %] [% field_descs.assigned_to_realname = "Assignee Realname" %]

Просмотреть файл

@ -32,7 +32,7 @@
# by the browser. # by the browser.
#%] #%]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% field_descs.short_short_desc = field_descs.short_desc %] [% field_descs.short_short_desc = field_descs.short_desc %]
[% field_descs.assigned_to_realname = field_descs.assigned_to %] [% field_descs.assigned_to_realname = field_descs.assigned_to %]
[% field_descs.reporter_realname = field_descs.reporter %] [% field_descs.reporter_realname = field_descs.reporter %]

Просмотреть файл

@ -21,7 +21,7 @@
[% y_label = "Bugs" %] [% y_label = "Bugs" %]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% col_field_disp = field_descs.$col_field || col_field %] [% col_field_disp = field_descs.$col_field || col_field %]

Просмотреть файл

@ -21,7 +21,7 @@
[% y_label = "Bugs" %] [% y_label = "Bugs" %]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% col_field_disp = field_descs.$col_field || col_field %] [% col_field_disp = field_descs.$col_field || col_field %]

Просмотреть файл

@ -19,7 +19,7 @@
# Contributor(s): Gervase Markham <gerv@gerv.net> # Contributor(s): Gervase Markham <gerv@gerv.net>
#%] #%]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% col_field_disp = field_descs.$col_field || col_field %] [% col_field_disp = field_descs.$col_field || col_field %]

Просмотреть файл

@ -31,7 +31,7 @@
# tbl: Name of a hash in data which is the table to be plotted. # tbl: Name of a hash in data which is the table to be plotted.
#%] #%]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% col_field_disp = field_descs.$col_field || col_field %] [% col_field_disp = field_descs.$col_field || col_field %]
[% row_field_disp = field_descs.$row_field || row_field %] [% row_field_disp = field_descs.$row_field || row_field %]

Просмотреть файл

@ -18,7 +18,7 @@
# #
# Contributor(s): Gervase Markham <gerv@gerv.net> # Contributor(s): Gervase Markham <gerv@gerv.net>
#%] #%]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% FOREACH tbl = tbl_names %] [% FOREACH tbl = tbl_names %]
[% PROCESS "reports/report-table.csv.tmpl" %] [% PROCESS "reports/report-table.csv.tmpl" %]

Просмотреть файл

@ -42,7 +42,7 @@
[% row_field = "" %] [% row_field = "" %]
[% END %] [% END %]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% tbl_field_disp = field_descs.$tbl_field || tbl_field %] [% tbl_field_disp = field_descs.$tbl_field || tbl_field %]
[% col_field_disp = field_descs.$col_field || col_field %] [% col_field_disp = field_descs.$col_field || col_field %]

Просмотреть файл

@ -327,7 +327,7 @@ function selectProduct(f) {
{ value => "regexp", description => "matches the regexp" }, { value => "regexp", description => "matches the regexp" },
{ value => "notregexp", description => "doesn't match the regexp" } ] %] { value => "notregexp", description => "doesn't match the regexp" } ] %]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[%# If we resubmit to ourselves, we need to know if we are using a format. %] [%# If we resubmit to ourselves, we need to know if we are using a format. %]
<input type="hidden" name="query_format" value="[% format %]"> <input type="hidden" name="query_format" value="[% format %]">

Просмотреть файл

@ -24,7 +24,7 @@
# default.$name.0: string. The default value for the block, if any. # default.$name.0: string. The default value for the block, if any.
#%] #%]
[% PROCESS "global/field-descs.html.tmpl" %] [% PROCESS "global/field-descs.none.tmpl" %]
[% BLOCK select %] [% BLOCK select %]
[% rep_fields = ["product", "component", "version", "rep_platform", [% rep_fields = ["product", "component", "version", "rep_platform",