From b3a495040038c5a20878776d39a829d7138e4efa Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 19 Apr 2002 02:27:54 +0000 Subject: Bug 135707 - rearrange templates to normalise filenames, and create directory structure which allows for localised versions of the templates. Earlier versions of these templates can be found, cvs removed, scattered around bugzilla/template/default; but there are no substantial changes between their initial checkin there and here. --- template/en/default/admin/attachstatus/create.atml | 77 +++++++++++++++++++ template/en/default/admin/attachstatus/delete.atml | 55 +++++++++++++ template/en/default/admin/attachstatus/edit.atml | 73 ++++++++++++++++++ template/en/default/admin/attachstatus/list.atml | 89 ++++++++++++++++++++++ 4 files changed, 294 insertions(+) create mode 100644 template/en/default/admin/attachstatus/create.atml create mode 100644 template/en/default/admin/attachstatus/delete.atml create mode 100644 template/en/default/admin/attachstatus/edit.atml create mode 100644 template/en/default/admin/attachstatus/list.atml (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/attachstatus/create.atml b/template/en/default/admin/attachstatus/create.atml new file mode 100644 index 000000000..7354b3852 --- /dev/null +++ b/template/en/default/admin/attachstatus/create.atml @@ -0,0 +1,77 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Create Attachment Status" + style = " + th { text-align: right; vertical-align: top; } + td { text-align: left; vertical-align: top; } + " +%] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name: + +
Description: + +
Sort Key: + +
Product: + +
+ +
+
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/admin/attachstatus/delete.atml b/template/en/default/admin/attachstatus/delete.atml new file mode 100644 index 000000000..dc50052b9 --- /dev/null +++ b/template/en/default/admin/attachstatus/delete.atml @@ -0,0 +1,55 @@ + +[%# 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 + # Jeff Hedlund + #%] + +[%# Filter off the name here to be used multiple times below %] +[% name = name FILTER html %] + +[% INCLUDE global/header + title = "Confirm Delete of Attachment Status '$name'" +%] + +

+ [% attachcount %] attachments have the status '[% name %]'. If you delete + it, those attachments will lose this status. +

+ + + + + + + + + +
+ Do you really want to delete this status? +
+ + Yes, delete + + + + No, don't delete + +
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/admin/attachstatus/edit.atml b/template/en/default/admin/attachstatus/edit.atml new file mode 100644 index 000000000..1186d7637 --- /dev/null +++ b/template/en/default/admin/attachstatus/edit.atml @@ -0,0 +1,73 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Edit Attachment Status" + style = " + th { text-align: right; vertical-align: top; } + td { text-align: left; vertical-align: top; } + " +%] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Name: + +
Description: + +
Sort Key: + +
Product: + [% product FILTER html %] +
+ +
+
+ +[% INCLUDE global/footer %] diff --git a/template/en/default/admin/attachstatus/list.atml b/template/en/default/admin/attachstatus/list.atml new file mode 100644 index 000000000..551ab182a --- /dev/null +++ b/template/en/default/admin/attachstatus/list.atml @@ -0,0 +1,89 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = 'Administer Attachment Statuses' + message = message + style = " + th { text-align: left; } + " +%] + + + + + + + + + + + + [% FOREACH statusdef = statusdefs %] + + + + + + + + + + [% END %] + + + + + + +
NameDescriptionSort KeyProductAction(s)
[% statusdef.name FILTER html %][% statusdef.description FILTER html %][% statusdef.sortkey %][% statusdef.product FILTER html %] + + Edit +  |  + + Delete +
+ Create +
+ + +[% INCLUDE global/footer %] -- cgit v1.2.3-24-g4f1b