From d033109bdc8729e9ef46fc82ad200c7d2cda5a1a Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 19 Apr 2002 01:56:11 +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/bug/create/create.html.tmpl | 257 +++++++++++++++++++++ template/en/default/bug/create/created.html.tmpl | 47 ++++ .../en/default/bug/create/initial-comment.txt.tmpl | 21 ++ .../en/default/bug/create/make-template.html.tmpl | 33 +++ 4 files changed, 358 insertions(+) create mode 100644 template/en/default/bug/create/create.html.tmpl create mode 100644 template/en/default/bug/create/created.html.tmpl create mode 100644 template/en/default/bug/create/initial-comment.txt.tmpl create mode 100644 template/en/default/bug/create/make-template.html.tmpl (limited to 'template/en/default/bug/create') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl new file mode 100644 index 000000000..cb82c8401 --- /dev/null +++ b/template/en/default/bug/create/create.html.tmpl @@ -0,0 +1,257 @@ + +[%# 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 + # Ville Skyttä + #%] + +[% INCLUDE global/header + title = "Enter Bug" + h2 = "This page lets you enter a new bug into Bugzilla." +%] + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + [%# We can't use the select block in these two cases for various reasons. %] + + + + + + + + + + + + + + + [% sel = { description => 'Platform', name => 'rep_platform' } %] + [% INCLUDE select %] + + [% sel = { description => 'OS', name => 'op_sys' } %] + [% INCLUDE select %] + + + + [% IF Param('letsubmitterchoosepriority') %] + [% sel = { description => 'Priority', name => 'priority' } %] + [% INCLUDE select %] + [% ELSE %] + + [% END %] + + [% sel = { description => 'Severity', name => 'bug_severity' } %] + [% INCLUDE select %] + + + + + + + +[% IF bug_status.size > 1 %] + + [% sel = { description => 'Initial State', name => 'bug_status' } %] + [% INCLUDE select %] + + + +[% ELSE %] + +[% END %] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +[% IF Param('usebrowserinfo') %] + + + + +[% END %] + +

+ Before filling this in, please read the + bug-writing guidelines. +

Reporter:[% reporter FILTER html %]Product:[% product FILTER html %]
+ Version: + + + + + + Component: + + + +
 
 
+ + Assigned To: + + + + (Leave blank to assign to default component owner) +
Cc: + +
 
URL: + +
Summary: + +
Description: + +
+
+ [% IF group.size %] +
+ + Only users in the selected groups can view this bug: + +
+ + (Leave all boxes unchecked to make this a public bug.) + +
+
+ + + [% FOREACH g = group %] +      + [% g.description %]
+ [% END %] +
+ [% END %] +
+ +      + +
+
+ We've made a guess at your operating system and platform. + Please check them and, if we got it wrong, email + [% Param('maintainer') %]. +
+ +
+ +[% INCLUDE global/footer %] + +[%############################################################################%] +[%# Block for SELECT fields #%] +[%############################################################################%] + +[% BLOCK select %] + [% IF sel.description %] + + + [% sel.description %]: + + + [% END %] + + + + +[% END %] diff --git a/template/en/default/bug/create/created.html.tmpl b/template/en/default/bug/create/created.html.tmpl new file mode 100644 index 000000000..9eba2edf5 --- /dev/null +++ b/template/en/default/bug/create/created.html.tmpl @@ -0,0 +1,47 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Bug $bug_id Submitted" +%] + + + + + + +
+

Bug [% bug_id %] has been added to the database.

+ + [% mailresults %] + +
+ Back To Bug# [% bug_id %] +
+ +

+ + Attach a file to this bug. +

+ +[% INCLUDE show/navigate.html.tmpl %] + +[% INCLUDE global/footer %] diff --git a/template/en/default/bug/create/initial-comment.txt.tmpl b/template/en/default/bug/create/initial-comment.txt.tmpl new file mode 100644 index 000000000..21a9f3ff8 --- /dev/null +++ b/template/en/default/bug/create/initial-comment.txt.tmpl @@ -0,0 +1,21 @@ +[%# 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 + #%] +[% form.comment %] diff --git a/template/en/default/bug/create/make-template.html.tmpl b/template/en/default/bug/create/make-template.html.tmpl new file mode 100644 index 000000000..c5e017529 --- /dev/null +++ b/template/en/default/bug/create/make-template.html.tmpl @@ -0,0 +1,33 @@ + +[%# 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 + #%] + +[% INCLUDE global/header + title = "Bookmarks are your friend" + h1 = "Template constructed" +%] + +

+If you bookmark this link, +going to the bookmark will bring up the enter bug page with the fields +initialized as you've requested. +

+ +[% INCLUDE global/footer %] -- cgit v1.2.3-24-g4f1b