From c4b39497330fb3849989b3ebda7fec317643e9db Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Tue, 1 Feb 2005 03:15:53 +0000 Subject: Bug 81642 : "Split bug / Clone bug": Enter new bug with prefilled fields Patch by Shane H. W. Travis r=jouni a=justdave --- template/en/default/bug/create/create.html.tmpl | 8 +++++++- template/en/default/bug/knob.html.tmpl | 2 ++ template/en/default/filterexceptions.pl | 1 + template/en/default/global/choose-product.html.tmpl | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 1d2287526..a5d5e213c 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -252,7 +252,13 @@ function set_assign_to() { Description: + [% IF cloned_bug_id %] ++++ This [% terms.bug %] was initially created as a clone of [% terms.Bug %] #[% cloned_bug_id %] +++ + + + [% END %] + [% comment FILTER html %] +
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index 463132f9f..6318fd818 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -169,6 +169,8 @@ View [% terms.Bug %] Activity   |   Format For Printing +   |   + Clone This [% terms.Bug %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 0b6bb90de..6f57dc863 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -418,6 +418,7 @@ 'g.description', 'sel.name', 'sel.description', + 'cloned_bug_id' ], 'bug/create/create-guided.html.tmpl' => [ diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl index ead2adc08..da13ee84f 100644 --- a/template/en/default/global/choose-product.html.tmpl +++ b/template/en/default/global/choose-product.html.tmpl @@ -43,6 +43,7 @@ [% p FILTER html %]: -- cgit v1.2.3-24-g4f1b