diff options
author | travis%sedsystems.ca <> | 2005-02-01 04:15:53 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-01 04:15:53 +0100 |
commit | c4b39497330fb3849989b3ebda7fec317643e9db (patch) | |
tree | 47e9cb9d2e95498d89fd90a043b0a48b86f3b068 /template/en | |
parent | f2152e3abc43f3705c5e575f77aca4ddce85e084 (diff) | |
download | bugzilla-c4b39497330fb3849989b3ebda7fec317643e9db.tar.gz bugzilla-c4b39497330fb3849989b3ebda7fec317643e9db.tar.xz |
Bug 81642 : "Split bug / Clone bug": Enter new bug with prefilled fields
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=jouni a=justdave
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 8 | ||||
-rw-r--r-- | template/en/default/bug/knob.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/filterexceptions.pl | 1 | ||||
-rw-r--r-- | template/en/default/global/choose-product.html.tmpl | 1 |
4 files changed, 11 insertions, 1 deletions
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() { <tr><td align="right" valign="top"><strong>Description:</strong></td> <td colspan="3"> <textarea wrap="hard" name="comment" rows="10" cols="80"> - [% comment FILTER html %]</textarea> + [% IF cloned_bug_id %] ++++ This [% terms.bug %] was initially created as a clone of [% terms.Bug %] #[% cloned_bug_id %] +++ + + + [% END %] + [% comment FILTER html %] + </textarea> <br> </td> </tr> 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 @@ <a href="show_activity.cgi?id=[% bug.bug_id %]">View [% terms.Bug %] Activity</a> | <a href="show_bug.cgi?format=multiple&id=[% bug.bug_id %]">Format For Printing</a> + | + <a href="enter_bug.cgi?cloned_bug_id=[% bug.bug_id %]">Clone This [% terms.Bug %]</a> </b> </font> 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 @@ <tr> <th align="right" valign="top"> <a href="[% target %]?product=[% p FILTER url_quote %] + [% IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %] [% IF format %]&format=[% format FILTER url_quote %][% END %]"> [% p FILTER html %]</a>: </th> |