From d99ef93e22808fba80bf3bec3c81d73d6d2003cc Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Thu, 24 Oct 2002 05:11:04 +0000 Subject: Bug 172874 - cvs remove old attachstatus templates. "patch" by gerv; r=myk. --- .../en/default/attachment/content-types.html.tmpl | 27 --- template/en/default/attachment/create.html.tmpl | 162 -------------- template/en/default/attachment/created.html.tmpl | 66 ------ template/en/default/attachment/edit.html.tmpl | 234 --------------------- template/en/default/attachment/list.html.tmpl | 96 --------- .../en/default/attachment/show-multiple.html.tmpl | 96 --------- template/en/default/attachment/updated.html.tmpl | 52 ----- 7 files changed, 733 deletions(-) delete mode 100644 template/en/default/attachment/content-types.html.tmpl delete mode 100644 template/en/default/attachment/create.html.tmpl delete mode 100644 template/en/default/attachment/created.html.tmpl delete mode 100644 template/en/default/attachment/edit.html.tmpl delete mode 100644 template/en/default/attachment/list.html.tmpl delete mode 100644 template/en/default/attachment/show-multiple.html.tmpl delete mode 100644 template/en/default/attachment/updated.html.tmpl (limited to 'template') diff --git a/template/en/default/attachment/content-types.html.tmpl b/template/en/default/attachment/content-types.html.tmpl deleted file mode 100644 index 4e7cafc47..000000000 --- a/template/en/default/attachment/content-types.html.tmpl +++ /dev/null @@ -1,27 +0,0 @@ - -[%# 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): Myk Melez - #%] - - - - - - - diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl deleted file mode 100644 index 1c00146e5..000000000 --- a/template/en/default/attachment/create.html.tmpl +++ /dev/null @@ -1,162 +0,0 @@ - -[%# 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): Myk Melez - #%] - -[%# Define strings that will serve as the title and header of this page %] -[% title = BLOCK %]Create New Attachment for Bug #[% bugid %][% END %] -[% h1 = BLOCK %]Create New Attachment for Bug #[% bugid %][% END %] -[% h2 = BLOCK %][% bugsummary FILTER html %][% END %] - -[% PROCESS global/header.html.tmpl - title = title - h1 = h1 - h2 = h2 - style = " - table.attachment_entry th { - text-align: right; - vertical-align: baseline; - white-space: nowrap; - } - - table.attachment_entry td { - text-align: left; - vertical-align: baseline; - padding-bottom: 5px; - } - " - onload="setContentTypeDisabledState();" -%] - -
- - - - - - - - - - - - - - - - - - - - - [% IF (Param("insidergroup") && UserInGroup(Param("insidergroup"))) %] - - - - - [% END %] - - - - - - - - - - - - -
File: - Enter the path to the file on your computer.
- -
Description: - Describe the attachment briefly.
- -
-
Content Type: - If the attachment is a patch, check the box below.
- -

- - Otherwise, choose a method for determining the content type.
- -
- - -
- - - -
Privacy: - If the attachment is private, check the box below.
- - -
Obsoletes: - (optional) Check each existing attachment made obsolete by your new attachment.
- [% IF attachments.size %] - [% FOREACH attachment = attachments %] - [% IF ((attachment.isprivate == 0) || (Param("insidergroup") - && UserInGroup(Param("insidergroup")))) %] - - [% attachment.id %]: [% attachment.description FILTER html %]
- [% END %] - [% END %] - [% ELSE %] - [no attachments can be made obsolete] - [% END %] -
Comment: - (optional) Add a comment about this attachment to the bug.
- -
 
- -
- - - -[% PROCESS global/footer.html.tmpl %] - - - diff --git a/template/en/default/attachment/created.html.tmpl b/template/en/default/attachment/created.html.tmpl deleted file mode 100644 index 56e71ccba..000000000 --- a/template/en/default/attachment/created.html.tmpl +++ /dev/null @@ -1,66 +0,0 @@ - -[%# 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): Myk Melez - #%] - -[%# INTERFACE: - # bugid: integer. ID of the bug we just attached an attachment to. - # attachid: integer. ID of the attachment just created. - # description: string. Description of the attachment just created. - # contenttype: string. The Content Type we attached it as. - # contenttypemethod: string. How we got the content type of the attachment. - # Possible values: autodetect, list, manual. - # mailresults: string. who was mailed, and who wasn't. - #%] - -[% PROCESS global/header.html.tmpl - title = "Changes Submitted" - style = "th { text-align: left; }" -%] - - - - - - -
-

- Attachment #[% attachid %] - to Bug #[% bugid %] Created -

- - [% mailresults %] - - [% IF contenttypemethod == 'autodetect' %] -

- Note: Bugzilla automatically detected the content type - [% contenttype %] for this attachment. If this is - incorrect, correct the value by - editing the attachment. -

- [% END %] -
- Go back to bug #[% bugid %] -
- -

-Create Another Attachment to Bug #[% bugid %] -

- -[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl deleted file mode 100644 index 32449f041..000000000 --- a/template/en/default/attachment/edit.html.tmpl +++ /dev/null @@ -1,234 +0,0 @@ - -[%# 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): Myk Melez - #%] - -[%# Define strings that will serve as the title and header of this page %] -[% title = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %] -[% h1 = BLOCK %]Edit Attachment #[% attachid %] for Bug #[% bugid %][% END %] -[% h2 = BLOCK %][% bugsummary FILTER html %][% END %] - -[% PROCESS global/header.html.tmpl - title = title - h1 = h1 - h2 = h2 - style = " - table.attachment_info th { text-align: right; vertical-align: top; } - table.attachment_info td { text-align: left; vertical-align: top; } - #noview { text-align: left; vertical-align: center; } - - table#flags th, table#flags td { font-size: small; vertical-align: baseline; } - " -%] - - - -
- - - - - - - - - - [% IF isviewable %] - - [% ELSE %] - - [% END %] - - - -
- - Description:
-
- - Filename:
-
- - MIME Type:
-
- - - - -
- [% IF (Param("insidergroup") && UserInGroup(Param("insidergroup"))) %] - private

- [% ELSE %]
- [% END %] - - [% IF flag_types.size > 0 %] - Flags:
- [% PROCESS "flag/list.html.tmpl" bug_id=bugid attach_id=attachid %]
- [% END %] - -
- Comment (on the bug):
-
-
- - - -
-
- - - - -

- Attachment cannot be viewed because its MIME type is not either text/*, image/*, or application/vnd.mozilla.*. - Download the attachment instead. -

-
- - Attachments on this Bug: - [% FOREACH a = attachments %] - [% IF a == attachid %] - #[% a %] - [% ELSE %] - #[% a %] - [% END %] - [% " |" UNLESS loop.last() %] - [% END %] - -
- -
- -[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl deleted file mode 100644 index 59f749695..000000000 --- a/template/en/default/attachment/list.html.tmpl +++ /dev/null @@ -1,96 +0,0 @@ - -[%# 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): Myk Melez - #%] - -[%# Whether or not to include flags. %] -[% display_flags = num_attachment_flag_types > 0 %] - -
- - - - - - [% IF display_flags %] - - [% END %] - - - [% canseeprivate = !Param("insidergroup") || UserInGroup(Param("insidergroup")) %] - [% FOREACH attachment = attachments %] - [% IF !attachment.isprivate || canseeprivate %] - - - - - - - - [% IF display_flags %] - - [% END %] - - - - [% END %] - [% END %] - - - - - -
AttachmentTypeCreatedFlagsActions
- [% IF attachment.isobsolete %] - [% attachment.description FILTER html %] - [% ELSE %] - [% attachment.description FILTER html %] - [% END %] - - [% IF attachment.ispatch %] - patch - [% ELSE %] - [% attachment.contenttype FILTER html %] - [% END %] - [% attachment.date %] - [% IF attachment.flags.size == 0 %] - none - [% ELSE %] - [% FOR flag = attachment.flags %] - [% IF flag.setter %] - [% flag.setter.nick FILTER html %]: - [% END %] - [%+ flag.type.name %][% flag.status %] - [%+ IF flag.status == "?" && flag.requestee %] - ([% flag.requestee.nick %]) - [% END %]
- [% END %] - [% END %] -
- [% IF attachment.canedit %] - Edit - [% ELSE %] - None - [% END %] -
- Create a New Attachment (proposed patch, testcase, etc.) - - View All -
-
diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl deleted file mode 100644 index 5e12f622e..000000000 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ /dev/null @@ -1,96 +0,0 @@ - -[%# 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): Myk Melez - #%] - -[% filtered_summary = bugsummary FILTER html %] -[% PROCESS global/header.html.tmpl - title = "View All Attachments for Bug #$bugid" - h1 = "View All Attachments for Bug #$bugid" - h2 = filtered_summary - style = " - table.attachment_info th { text-align: right; vertical-align: top; } - table.attachment_info td { text-align: left; vertical-align: top; } - " -%] - -
- -[% FOREACH a = attachments %] - -
- - - - - - - - - - - - - - - -
- Attachment #[% a.attachid %] -
- [% IF a.isobsolete %] - [% a.description FILTER html %] - [% ELSE %] - [% a.description FILTER html %] - [% END %] - - [% IF a.ispatch %] - patch - [% ELSE %] - [% a.contenttype FILTER html %] - [% END %] - [% a.date %] - [% IF a.statuses.size == 0 %] - none - [% ELSE %] - [% FOREACH s = a.statuses %] - [% s FILTER html FILTER replace('\s', ' ') %]
- [% END %] - [% END %] -
- Edit -
- - [% IF a.isviewable %] - - [% ELSE %] -

- Attachment cannot be viewed because its MIME type is not text/*, image/*, or application/vnd.mozilla.*. - Download the attachment instead. -

- [% END %] -
- -

- -[% END %] - -[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/attachment/updated.html.tmpl b/template/en/default/attachment/updated.html.tmpl deleted file mode 100644 index 2c7ceb24d..000000000 --- a/template/en/default/attachment/updated.html.tmpl +++ /dev/null @@ -1,52 +0,0 @@ - -[%# 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): Myk Melez - # Gervase Markham - #%] - -[%# INTERFACE: - # bugid: integer. ID of the bug we are updating. - # attachid: integer. ID of the attachment we just attached. - # mailresults: string. Who was mailed and who wasn't. - #%] - -[% PROCESS global/header.html.tmpl - title = "Changes Submitted" - style = "th { text-align: left; }" -%] - -
- - - - - - - -
-

Changes to - attachment [% attachid %] - of bug [% bugid %] submitted -

- [% mailresults %] -
- Back to Bug #[% bugid %] -
- -[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b