From f1374b272a5a61ed0847acb806ca5750aae5789d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 5 Jun 2006 17:58:37 +0000 Subject: Bug 42946: Bugs filed at same time causing one to be duplicated - Patch by Olav Vitters r=LpSolit a=justdave --- .../bug/create/confirm-create-dupe.html.tmpl | 55 ++++++++++++++++++++++ .../en/default/bug/create/create-guided.html.tmpl | 1 + template/en/default/bug/create/create.html.tmpl | 1 + 3 files changed, 57 insertions(+) create mode 100644 template/en/default/bug/create/confirm-create-dupe.html.tmpl (limited to 'template') diff --git a/template/en/default/bug/create/confirm-create-dupe.html.tmpl b/template/en/default/bug/create/confirm-create-dupe.html.tmpl new file mode 100644 index 000000000..ef3d1ff23 --- /dev/null +++ b/template/en/default/bug/create/confirm-create-dupe.html.tmpl @@ -0,0 +1,55 @@ +[%# 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 Olav Vitters. + # + # Contributor(s): Olav Vitters + #%] + +[%# INTERFACE: + # bugid: integer. ID of the bug previously used to create a bug. + # allow_override: boolean int. Is 1 if the user may submit the bug again. + #%] + +[% PROCESS "global/field-descs.none.tmpl" %] + +[% PROCESS global/header.html.tmpl + title = "Already filed $terms.bug" +%] + + + + + +
+ + You already used the form to file [% "$terms.bug $bugid" FILTER bug_link(bugid) FILTER none %]. + +
+ +

You are highly encouraged to visit [% "$terms.bug $bugid" +FILTER bug_link(bugid) FILTER none %].

+ +[% IF allow_override %] +

If you are sure you used the same form to submit a new [% terms.bug %], + click 'File [% terms.bug %] again'.

+ +

+ [% PROCESS "global/hidden-fields.html.tmpl" + exclude="^(Bugzilla_login|Bugzilla_password|ignore_token)$" %] + + +
+[% END %] + +[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 1e41c07ef..fc15e5ce5 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -185,6 +185,7 @@ function PutDescription() { value="[% default.priority FILTER html %]"> + diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index ca400d31c..eddb8bc68 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -94,6 +94,7 @@ function set_assign_to() { +
-- cgit v1.2.1