diff options
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/choose-classification.html.tmpl | 7 | ||||
-rw-r--r-- | template/en/default/global/choose-product.html.tmpl | 6 |
2 files changed, 5 insertions, 8 deletions
diff --git a/template/en/default/global/choose-classification.html.tmpl b/template/en/default/global/choose-classification.html.tmpl index 1a59f6d89..815e625a6 100644 --- a/template/en/default/global/choose-classification.html.tmpl +++ b/template/en/default/global/choose-classification.html.tmpl @@ -19,13 +19,13 @@ [% DEFAULT title = "Choose the classification" %] [% PROCESS global/header.html.tmpl %] +[% previous_params = cgi.canonicalise_query('classification') %] <h2>First, you must pick a classification on which to enter [% terms.abug %]:</h2> <table id="choose_classification"> <tr> <th class="right"> <a href="[% target FILTER uri %]?classification=__all - [% IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%] - [%- IF format %]&format=[% format FILTER uri %][% END %]"> + [%- IF previous_params %]&[% previous_params FILTER none %][% END -%]"> All</a>: </th> @@ -39,8 +39,7 @@ <tr> <th class="right"> <a href="[% target FILTER uri %]?classification=[% class.name FILTER uri -%] - [%- IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%] - [%- IF format %]&format=[% format FILTER uri %][% END %]"> + [%- IF previous_params %]&[% previous_params FILTER none %][% END -%]"> [% class.name FILTER html %]</a>: </th> diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl index b6b75fdbc..5dc619087 100644 --- a/template/en/default/global/choose-product.html.tmpl +++ b/template/en/default/global/choose-product.html.tmpl @@ -11,8 +11,6 @@ # classification object and 'products' the list of # product objects the user can enter bugs into. # target: the script that displays this template. - # cloned_bug_id: ID of the bug being cloned. - # format: the desired format to display the target. #%] [% IF target == "enter_bug.cgi" %] @@ -30,6 +28,7 @@ [% DEFAULT title = "Choose a Product" %] [% PROCESS global/header.html.tmpl %] +[% previous_params = cgi.canonicalise_query('classification', 'product') %] <h2>[% h2 FILTER html %]</h2> <table id="choose_product"> @@ -46,8 +45,7 @@ <tr> <th class="right"> <a href="[% target %]?product=[% p.name FILTER uri -%] - [%- IF cloned_bug_id %]&cloned_bug_id=[% cloned_bug_id FILTER uri %][% END -%] - [%- IF format %]&format=[% format FILTER uri %][% END %]"> + [%- IF previous_params %]&[% previous_params FILTER none %][% END -%]"> [% p.name FILTER html FILTER no_break %]</a>: </th> |